qemu/xen: make use of xenstore relative paths
commit33876dfad64bc481f59c5e9ccf60db78624c4b93
authorRoger Pau Monné <roger.pau@citrix.com>
Thu, 10 Oct 2013 14:25:52 +0000 (10 14:25 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 10 Oct 2013 14:25:52 +0000 (10 14:25 +0000)
tree7e4c20415b1be5d0aa1efef9e25b61fe08fa867d
parenta76f48e53382e6f039db6278443e3ce437653302
qemu/xen: make use of xenstore relative paths

Qemu has several hardcoded xenstore paths that are only valid on Dom0.
Attempts to launch a Qemu instance (to act as a userspace backend for
PV disks) will fail because Qemu is not able to access those paths
when running on a domain different than Dom0.

Instead make the xenstore paths relative to the domain where Qemu is
actually running.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Cc: xen-devel@lists.xenproject.org
Cc: Anthony PERARD <anthony.perard@citrix.com>
hw/xen/xen_backend.c
xen-all.c