[Pkg-virtualbox-devel] Bug#611861: Bug#611861: virtualbox-ose: general protection fault after g_abExecMemory on a xen domU

Timo Juhani Lindfors timo.lindfors at iki.fi
Thu Feb 3 09:00:15 UTC 2011


Frank Mehnert <frank.mehnert at oracle.com> writes:
> Running VirtualBox in DomU or in Dom0 is not supported.

Ok I can understand that (thanks for the speedy reply btw). Could you
consider adding something like

--- virtualbox-ose.orig 2011-02-03 10:58:53.000000000 +0200
+++ virtualbox-ose      2011-02-03 10:57:44.000000000 +0200
@@ -54,7 +54,13 @@
 start()
 {
        log_begin_msg "Starting VirtualBox kernel modules"
-
+
+       if [ -d /proc/xen ]; then
+           log_failure_msg "Running virtualbox under xen is not supported"
+           log_end_msg 1
+           return 1
+       fi
+
        if ! running vboxdrv; then
                # HACK: disable the hardware performance counter framework
                if [ -e /proc/sys/kernel/perf_counter_paranoid ]; then

to the init.d script? This way users would get an error message
instead of a system crash.





More information about the Pkg-virtualbox-devel mailing list