diff options
author | Paul Durrant <paul.durrant@citrix.com> | 2017-03-07 10:55:30 +0000 |
---|---|---|
committer | Stefano Stabellini <sstabellini@kernel.org> | 2017-03-22 11:47:39 -0700 |
commit | 260cabed718c4d3137553a4a98de268b0fb166b7 (patch) | |
tree | ee422eb7020345a3d3746dfad26c92652be48ae1 /hw/xen | |
parent | 55a19ad8b2d0797e3a8fe90ab99a9bb713824059 (diff) | |
download | qemu-260cabed718c4d3137553a4a98de268b0fb166b7.zip qemu-260cabed718c4d3137553a4a98de268b0fb166b7.tar.gz qemu-260cabed718c4d3137553a4a98de268b0fb166b7.tar.bz2 |
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 'hw/xen')
-rw-r--r-- | hw/xen/xen_backend.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/xen/xen_backend.c b/hw/xen/xen_backend.c index 6c21c37..d34c49e 100644 --- a/hw/xen/xen_backend.c +++ b/hw/xen/xen_backend.c @@ -43,8 +43,6 @@ BusState *xen_sysbus; /* ------------------------------------------------------------- */ /* public */ -xc_interface *xen_xc = NULL; -xenforeignmemory_handle *xen_fmem = NULL; struct xs_handle *xenstore = NULL; const char *xen_protocol; |