From owner-svn-ports-head@freebsd.org Sat Aug 13 04:05:36 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E09BDBB56E0; Sat, 13 Aug 2016 04:05:36 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97AA61579; Sat, 13 Aug 2016 04:05:36 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7D45Z2w078774; Sat, 13 Aug 2016 04:05:35 GMT (envelope-from jkim@FreeBSD.org) Received: (from jkim@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7D45ZEr078772; Sat, 13 Aug 2016 04:05:35 GMT (envelope-from jkim@FreeBSD.org) Message-Id: <201608130405.u7D45ZEr078772@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jkim set sender to jkim@FreeBSD.org using -f From: Jung-uk Kim Date: Sat, 13 Aug 2016 04:05:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r420152 - in head/emulators/virtualbox-ose: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Aug 2016 04:05:37 -0000 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}