Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2024 13:02:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 212918] Host system hangs after suspend/resume if emulators/virtualbox-ose VirtualBox VMs are running
Message-ID:  <bug-212918-227-7SRkJ3VDIw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212918-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212918-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212918

--- Comment #13 from Jason W. Bacon <jwb@freebsd.org> ---
(In reply to Jason W. Bacon from comment #12)

Not going to be that easy.  I reinstalled from source with the patch below,=
 and
it did not help.  System panicked immediately on resume.

--- src/VBox/Main/src-server/SystemPropertiesImpl.cpp.orig      2024-01-11
12:25:27 UTC
+++ src/VBox/Main/src-server/SystemPropertiesImpl.cpp
@@ -105,8 +105,9 @@ HRESULT SystemProperties::init(VirtualBox *aParent)
      * by default so that VT-x or AMD-V can be shared with other
      * hypervisors without requiring user intervention.
      * NB: See also SystemProperties constructor in settings.h
+     * FreeBSD systems panic on sleep/resume with exclusive enabled.
      */
-#if defined(RT_OS_DARWIN) || defined(RT_OS_WINDOWS) || defined(RT_OS_SOLAR=
IS)
+#if defined(RT_OS_DARWIN) || defined(RT_OS_WINDOWS) || defined(RT_OS_SOLAR=
IS)
|| defined(RT_OS_FREEBSD)
     m->fExclusiveHwVirt =3D false;
 #else
     m->fExclusiveHwVirt =3D true;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212918-227-7SRkJ3VDIw>