vbox5: disable xsave

some more adjustments are needed for xsave support, but this port is scheduled
to be removed. Just disable xsave for the time being to make nightly test
happy.

Issue #5314
This commit is contained in:
Alexander Boettcher 2024-08-09 11:34:49 +02:00 committed by Christian Helmuth
parent 666a66e327
commit 79506e4494
3 changed files with 16 additions and 1 deletions

View File

@ -1 +1 @@
4df67ce24bce24be1c0171bfb9eef96a42e95c6f
ad357d2e6af6a8a056563d082190e357cf63a083

View File

@ -38,3 +38,4 @@ register.patch
changeset82265.patch
drvvd.patch
narrowing.patch
xsave.patch

View File

@ -0,0 +1,14 @@
--- a/src/app/virtualbox/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
--- b/src/app/virtualbox/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
@@ -1735,6 +1735,11 @@
pFeatures->fClFlush = RT_BOOL(pStd1Leaf->uEdx & X86_CPUID_FEATURE_EDX_CLFSH);
pFeatures->fPcid = RT_BOOL(pStd1Leaf->uEcx & X86_CPUID_FEATURE_ECX_PCID);
+ if (pFeatures->fXSaveRstor) {
+ RTLogPrintf("disable XSAVE feature forcefully\n");
+ pFeatures->fXSaveRstor = 0;
+ }
+
/* Structured extended features. */
PCCPUMCPUIDLEAF const pSxfLeaf0 = cpumR3CpuIdFindLeafEx(paLeaves, cLeaves, 7, 0);
if (pSxfLeaf0)