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

[Xen-changelog] fix the console when only XEN_PHYSDEV_ACCESS is Yes.



# HG changeset patch
# User vhanquez@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID d84ffe8f32aef5fe6732dfe83503b36bf1824cd3
# Parent  dab434c9349c96f8eaaef146716bd04231fa1967
fix the console when only XEN_PHYSDEV_ACCESS is Yes.

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r dab434c9349c -r d84ffe8f32ae 
linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c
--- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Thu Dec  1 11:27:29 2005
+++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c Thu Dec  1 07:31:50 2005
@@ -1752,7 +1752,7 @@
 #endif
 #endif
        } else {
-#ifdef CONFIG_XEN_PRIVILEGED_GUEST
+#ifdef CONFIG_XEN_PHYSDEV_ACCESS
                extern const struct consw xennull_con;
                extern int console_use_vt;
 #if defined(CONFIG_VGA_CONSOLE)
diff -r dab434c9349c -r d84ffe8f32ae 
linux-2.6-xen-sparse/drivers/xen/console/console.c
--- a/linux-2.6-xen-sparse/drivers/xen/console/console.c        Thu Dec  1 
11:27:29 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/console/console.c        Thu Dec  1 
07:31:50 2005
@@ -579,7 +579,7 @@
        .wait_until_sent = xencons_wait_until_sent,
 };
 
-#ifdef CONFIG_XEN_PRIVILEGED_GUEST
+#ifdef CONFIG_XEN_PHYSDEV_ACCESS
 static const char *xennullcon_startup(void)
 {
        return NULL;

_______________________________________________
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®.