mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-18 13:26:27 +00:00
parent
be70fddbb8
commit
4084df6360
@ -1 +1 @@
|
||||
a58000c856a6a838d0da22df8c144a60211b4572
|
||||
969705fd5573cd8f85c9023e06a61bf2cb3cc37c
|
||||
|
20
repos/ports/src/virtualbox6/patches/rdrand.patch
Normal file
20
repos/ports/src/virtualbox6/patches/rdrand.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- a/src/virtualbox6/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
|
||||
+++ b/src/virtualbox6/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
|
||||
@@ -4358,7 +4358,7 @@
|
||||
* the default is to only do this for VMs with nested paging and AMD-V or
|
||||
* unrestricted guest mode.
|
||||
*/
|
||||
- rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "RDRAND", &pConfig->enmRdRand, fNestedPagingAndFullGuestExec);
|
||||
+ rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "RDRAND", &pConfig->enmRdRand, fEnforceHWusage);
|
||||
AssertLogRelRCReturn(rc, rc);
|
||||
|
||||
/** @cfgm{/CPUM/IsaExts/RDSEED, isaextcfg, depends}
|
||||
@@ -4366,7 +4366,7 @@
|
||||
* the default is to only do this for VMs with nested paging and AMD-V or
|
||||
* unrestricted guest mode.
|
||||
*/
|
||||
- rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "RDSEED", &pConfig->enmRdSeed, fNestedPagingAndFullGuestExec);
|
||||
+ rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "RDSEED", &pConfig->enmRdSeed, fEnforceHWusage);
|
||||
AssertLogRelRCReturn(rc, rc);
|
||||
|
||||
/** @cfgm{/CPUM/IsaExts/CLFLUSHOPT, isaextcfg, depends}
|
@ -15,3 +15,4 @@ sup_ioctl_query_func_size.patch
|
||||
disk_geometry.patch
|
||||
stack_size.patch
|
||||
avx.patch
|
||||
rdrand.patch
|
||||
|
Loading…
Reference in New Issue
Block a user