summaryrefslogtreecommitdiffstats
path: root/include/hw/xen/xen_backend.h
diff options
context:
space:
mode:
authorPaul Durrant2017-03-07 11:55:30 +0100
committerStefano Stabellini2017-03-22 19:47:39 +0100
commit260cabed718c4d3137553a4a98de268b0fb166b7 (patch)
treeee422eb7020345a3d3746dfad26c92652be48ae1 /include/hw/xen/xen_backend.h
parentUpdate version for v2.9.0-rc1 release (diff)
downloadqemu-260cabed718c4d3137553a4a98de268b0fb166b7.tar.gz
qemu-260cabed718c4d3137553a4a98de268b0fb166b7.tar.xz
qemu-260cabed718c4d3137553a4a98de268b0fb166b7.zip
xen: make use of xen_xc implicit in xen_common.h inlines
Doing this will make the transition to using the new libxendevicemodel interface less intrusive on the callers of these functions, since using the new library will require a change of handle. NOTE: The patch also moves the 'externs' for xen_xc and xen_fmem from xen_backend.h to xen_common.h, and the declarations from xen_backend.c to xen-common.c, which is where they belong. Signed-off-by: Paul Durrant <paul.durrant@citrix.com> Reviewed-by: Anthony Perard <anthony.perard@citrix.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'include/hw/xen/xen_backend.h')
-rw-r--r--include/hw/xen/xen_backend.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/hw/xen/xen_backend.h b/include/hw/xen/xen_backend.h
index 4f4799a610..30811a1e5d 100644
--- a/include/hw/xen/xen_backend.h
+++ b/include/hw/xen/xen_backend.h
@@ -14,8 +14,6 @@
OBJECT_CHECK(XenDevice, (obj), TYPE_XENBACKEND)
/* variables */
-extern xc_interface *xen_xc;
-extern xenforeignmemory_handle *xen_fmem;
extern struct xs_handle *xenstore;
extern const char *xen_protocol;
extern DeviceState *xen_sysdev;