mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
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>
This commit is contained in:
parent
55a19ad8b2
commit
260cabed71
5 changed files with 60 additions and 57 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue