Skip to contentSkip to conversation

don't hard code 0 as domid of linux xenbus master

PATCH In review Alex Zeffertt 1 participant 1 message Mar 23, 2009 Xen hypervisor interface

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 don't hard code 0 as domid of linux xenbus master

This patch is only necessary if you want to run the master xenbus in a separate linux domain. However, given the comment above the code, it is clearer to do it this way.

---

drivers/xen/xenbus/xenbus_probe.c +1 -1
diff -r e46e80d983d6 drivers/xen/xenbus/xenbus_probe.c
@@ -934,7 +934,7 @@
 
 		/* 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);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel