vbox6: enable AES hardware instruction support

Issue #5314
This commit is contained in:
Alexander Boettcher 2024-09-17 10:58:15 +02:00 committed by Norman Feske
parent d565598489
commit e5df8da1bd
2 changed files with 10 additions and 1 deletions

View File

@ -1 +1 @@
f425c0058d023cabfa555a0605982e935c582902
a58000c856a6a838d0da22df8c144a60211b4572

View File

@ -55,6 +55,15 @@
fMayHaveXSave && pConfig->enmXSave && (fXStateHostMask & XSAVE_C_YMM) /*fAllowed*/);
AssertLogRelRCReturn(rc, rc);
@@ -4323,7 +4328,7 @@
* default is to only do this for VMs with nested paging and AMD-V or
* unrestricted guest mode.
*/
- rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "AESNI", &pConfig->enmAesNi, fNestedPagingAndFullGuestExec);
+ rc = cpumR3CpuIdReadIsaExtCfg(pVM, pIsaExts, "AESNI", &pConfig->enmAesNi, fEnforceHWusage);
AssertLogRelRCReturn(rc, rc);
/** @cfgm{/CPUM/IsaExts/PCLMUL, isaextcfg, depends}
@@ -4425,7 +4430,7 @@
* being the default is to only do this for VMs with nested paging and AMD-V or
* unrestricted guest mode.