]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
xenbus: Remove an assumption that 'initial domain' is dom0.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 13:42:04 +0000 (14:42 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 13:42:04 +0000 (14:42 +0100)
Signed-off-by: Diego Ongaro <diego.ongaro@citrix.com>
Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
drivers/xen/xenbus/xenbus_probe.c

index 45a1d55a6270a406d0e395cb2babe2db88b3e71a..152eea21706f12070a0e09521dda9d6a74bfbd49 100644 (file)
@@ -932,7 +932,7 @@ static int xenbus_probe_init(void)
 
                /* Next allocate a local port which xenstored can bind to */
                alloc_unbound.dom        = DOMID_SELF;
-               alloc_unbound.remote_dom = 0;
+               alloc_unbound.remote_dom = DOMID_SELF;
 
                err = HYPERVISOR_event_channel_op(EVTCHNOP_alloc_unbound,
                                                  &alloc_unbound);