[Bug 212918] Host system hangs after suspend/resume if emulators/virtualbox-ose VirtualBox VMs are running

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Nov 2024 19:40:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212918

--- Comment #12 from Jason W. Bacon <jwb@freebsd.org> ---
As an alternative, I may have found the place where this is initialized in
src/VBox/Main/src-server/SystemPropertiesImpl.cpp.  Maybe just adding FreeBSD
to the OS list here (and an appropriate comment explaining why) would do the
trick.

    /* On Windows, OS X and Solaris, HW virtualization use isn't exclusive
     * 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
     */
#if defined(RT_OS_DARWIN) || defined(RT_OS_WINDOWS) || defined(RT_OS_SOLARIS)
    m->fExclusiveHwVirt = false;
#else
    m->fExclusiveHwVirt = true;
#endif

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