From: Daniel De Graaf Date: Thu, 13 Oct 2011 20:07:08 +0000 (-0400) Subject: xenbus: don't rely on xen_initial_domain to detect local xenstore X-Git-Tag: v3.2-rc1~192^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4184aaf3b2c4f2b69306f6cfc4bab8733c6c5f1;p=pandora-kernel.git xenbus: don't rely on xen_initial_domain to detect local xenstore The xenstore daemon does not have to run in the xen initial domain; however, Linux currently uses xen_initial_domain to test if a loopback event channel should be used instead of the event channel provided in Xen's start_info structure. Instead, if the event channel passed in the start_info structure is not valid, assume that this domain will run xenstored locally and set up the event channel. Signed-off-by: Daniel De Graaf Reviewed-by: Ian Campbell Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed