mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
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:
parent
666a66e327
commit
79506e4494
@ -1 +1 @@
|
||||
4df67ce24bce24be1c0171bfb9eef96a42e95c6f
|
||||
ad357d2e6af6a8a056563d082190e357cf63a083
|
||||
|
@ -38,3 +38,4 @@ register.patch
|
||||
changeset82265.patch
|
||||
drvvd.patch
|
||||
narrowing.patch
|
||||
xsave.patch
|
||||
|
14
repos/ports/src/virtualbox5/patches/xsave.patch
Normal file
14
repos/ports/src/virtualbox5/patches/xsave.patch
Normal 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)
|
Loading…
Reference in New Issue
Block a user