svn commit: r420152 - in head/emulators/virtualbox-ose: . files
Jung-uk Kim
jkim at FreeBSD.org
Sat Aug 13 04:05:37 UTC 2016
Author: jkim
Date: Sat Aug 13 04:05:35 2016
New Revision: 420152
URL: https://svnweb.freebsd.org/changeset/ports/420152
Log:
Temporarily disable AVX support for guest. It is unstable for FreeBSD.
PR: 211651
Added:
head/emulators/virtualbox-ose/files/patch-src_VBox_VMM_VMMR3_CPUMR3CpuId.cpp (contents, props changed)
Modified:
head/emulators/virtualbox-ose/Makefile
Modified: head/emulators/virtualbox-ose/Makefile
==============================================================================
--- head/emulators/virtualbox-ose/Makefile Fri Aug 12 23:41:42 2016 (r420151)
+++ head/emulators/virtualbox-ose/Makefile Sat Aug 13 04:05:35 2016 (r420152)
@@ -3,6 +3,7 @@
PORTNAME= virtualbox-ose
PORTVERSION= 5.0.26
+PORTREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://download.virtualbox.org/virtualbox/${PORTVERSION}/
DISTFILES= VirtualBox-${PORTVERSION}${EXTRACT_SUFX} ${GUESTADDITIONS}
Added: head/emulators/virtualbox-ose/files/patch-src_VBox_VMM_VMMR3_CPUMR3CpuId.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/emulators/virtualbox-ose/files/patch-src_VBox_VMM_VMMR3_CPUMR3CpuId.cpp Sat Aug 13 04:05:35 2016 (r420152)
@@ -0,0 +1,21 @@
+--- src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp.orig 2016-07-18 11:57:09 UTC
++++ src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp
+@@ -3797,6 +3797,10 @@ static int cpumR3CpuIdReadConfig(PVM pVM
+ rc = cpumR3CpuIdReadIsaExtCfgLegacy(pVM, pIsaExts, pCpumCfg, "SSE4.2", &pConfig->enmSse42, true);
+ AssertLogRelRCReturn(rc, rc);
+
++#ifdef __FreeBSD__
++ // XXX PR211651: Disable XSAVE/XRSTOR for guest
++ bool const fMayHaveXSave = false;
++#else
+ bool const fMayHaveXSave = fNestedPagingAndFullGuestExec
+ && pVM->cpum.s.HostFeatures.fXSaveRstor
+ && pVM->cpum.s.HostFeatures.fOpSysXSaveRstor
+@@ -3804,6 +3808,7 @@ static int cpumR3CpuIdReadConfig(PVM pVM
+ && !HMIsLongModeAllowed(pVM)
+ #endif
+ ;
++#endif
+ uint64_t const fXStateHostMask = pVM->cpum.s.fXStateHostMask;
+
+ /** @cfgm{/CPUM/IsaExts/XSAVE, boolean, depends}
More information about the svn-ports-head
mailing list