ia64/linux-2.6.18-xen.hg

changeset 875:e17af34d4d90

xenbus: Remove an assumption that 'initial domain' is dom0.
Signed-off-by: Diego Ongaro <diego.ongaro@citrix.com>
Signed-off-by: Alex Zeffertt <alex.zeffertt@eu.citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 19 14:42:04 2009 +0100 (2009-05-19)
parents 68d582b0ad05
children bd7e30b58d12
files drivers/xen/xenbus/xenbus_probe.c
line diff
     1.1 --- a/drivers/xen/xenbus/xenbus_probe.c	Tue May 19 14:28:48 2009 +0100
     1.2 +++ b/drivers/xen/xenbus/xenbus_probe.c	Tue May 19 14:42:04 2009 +0100
     1.3 @@ -932,7 +932,7 @@ static int xenbus_probe_init(void)
     1.4  
     1.5  		/* Next allocate a local port which xenstored can bind to */
     1.6  		alloc_unbound.dom        = DOMID_SELF;
     1.7 -		alloc_unbound.remote_dom = 0;
     1.8 +		alloc_unbound.remote_dom = DOMID_SELF;
     1.9  
    1.10  		err = HYPERVISOR_event_channel_op(EVTCHNOP_alloc_unbound,
    1.11  						  &alloc_unbound);