diff options
author | Ian Campbell | 2016-02-10 12:07:03 +0100 |
---|---|---|
committer | Stefano Stabellini | 2016-02-10 13:01:24 +0100 |
commit | 81daba58803cd11a27c2b4684ee3642302c14351 (patch) | |
tree | a5784483a4d1e7dba504daf44aa80d075ef10f15 /include/hw/xen/xen_backend.h | |
parent | xen: drop xen_xc_hvm_inject_msi wrapper (diff) | |
download | qemu-81daba58803cd11a27c2b4684ee3642302c14351.tar.gz qemu-81daba58803cd11a27c2b4684ee3642302c14351.tar.xz qemu-81daba58803cd11a27c2b4684ee3642302c14351.zip |
xen: drop XenXC and associated interface wrappers
Now that 4.2 and earlier are no longer supported "xc_interface *" is
always the right type for the xc interface handle.
With this we can also simplify the handling of the xenforeignmemory
compatibility wrapper by making xenforeignmemory_handle ==
xc_interface, instead of an xc_interface* and remove various uses of &
and *h.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'include/hw/xen/xen_backend.h')
-rw-r--r-- | include/hw/xen/xen_backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/xen/xen_backend.h b/include/hw/xen/xen_backend.h index e0d52ee44f..c839eeb489 100644 --- a/include/hw/xen/xen_backend.h +++ b/include/hw/xen/xen_backend.h @@ -56,7 +56,7 @@ struct XenDevice { /* ------------------------------------------------------------- */ /* variables */ -extern XenXC xen_xc; +extern xc_interface *xen_xc; extern xenforeignmemory_handle *xen_fmem; extern struct xs_handle *xenstore; extern const char *xen_protocol; |