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

[Xen-changelog] [qemu-xen-unstable] Disable xen_be_init in stubdom



commit cd080a4f177f2cb61a23ed8dfa5ae546a88529c7
Author: Kamala Narasimhan <kamala.narasimhan@xxxxxxxxx>
Date:   Fri Jan 21 17:39:03 2011 +0000

    Disable xen_be_init in stubdom
    
    Do nothing in xen_be_init under stubdom.
    
    Signed-off-by: Kamala Narasimhan <kamala.narasimhan@xxxxxxxxxx>
---
 hw/xen_backend.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/hw/xen_backend.c b/hw/xen_backend.c
index d9be513..64dc93a 100644
--- a/hw/xen_backend.c
+++ b/hw/xen_backend.c
@@ -646,6 +646,10 @@ static void xen_be_evtchn_event(void *opaque)
 
 int xen_be_init(void)
 {
+#ifdef CONFIG_STUBDOM
+    return 0;
+#endif
+
     xenstore = xs_daemon_open();
     if (!xenstore) {
        xen_be_printf(NULL, 0, "can't connect to xenstored\n");
--
generated by git-patchbot for /home/xen/git/qemu-xen-unstable.git

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