[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix to allow -xen and -xen0 kernels to be used as unprivilged guests.



# HG changeset patch
# User iap10@xxxxxxxxxxxxxxxxxxxxx
# Node ID 62af595880604c8e741d8530377500dc06508234
# Parent  a1de77c1486c5f35884e9f578b7f33b6bd75c362
Fix to allow -xen and -xen0 kernels to be used as unprivilged guests.
Signed-off-by: ian@xxxxxxxxxxxxx

diff -r a1de77c1486c -r 62af59588060 
linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c
--- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Sat Sep  3 01:36:29 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Sat Sep  3 17:14:20 2005
@@ -1633,8 +1633,8 @@
        }
 #endif
 
-
-       dmi_scan_machine();
+       if (xen_start_info.flags & SIF_INITDOMAIN)
+               dmi_scan_machine();
 
 #ifdef CONFIG_X86_GENERICARCH
        generic_apic_probe(*cmdline_p);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.