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 /include/hw/xen/xen_backend.h | |
| parent | 55a19ad8b2d0797e3a8fe90ab99a9bb713824059 (diff) | |
| download | focaccia-qemu-260cabed718c4d3137553a4a98de268b0fb166b7.tar.gz focaccia-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.h | 2 |
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; |