diff options
author | Dr. David Alan Gilbert <dave@treblig.org> | 2024-09-17 01:22:12 +0100 |
---|---|---|
committer | Edgar E. Iglesias <edgar.iglesias@amd.com> | 2024-10-03 15:24:42 +0200 |
commit | abdfd6549d585b76a47183e611addf4d91536e0f (patch) | |
tree | 0781742c9bb562f3dc6004195f1fcbec5e7bf8e0 /include/hw/xen/xen-legacy-backend.h | |
parent | 423be09ab9492735924e73a2d36069784441ebc6 (diff) | |
download | qemu-abdfd6549d585b76a47183e611addf4d91536e0f.zip qemu-abdfd6549d585b76a47183e611addf4d91536e0f.tar.gz qemu-abdfd6549d585b76a47183e611addf4d91536e0f.tar.bz2 |
hw/xen: Remove deadcode
xen_be_copy_grant_refs is unused since 2019's
19f87870ba ("xen: remove the legacy 'xen_disk' backend")
xen_config_dev_console is unused since 2018's
6d7c06c213 ("Remove broken Xen PV domain builder")
Remove them.
Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Acked-by: Anthony PERARD <anthony.perard@vates.tech>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Diffstat (limited to 'include/hw/xen/xen-legacy-backend.h')
-rw-r--r-- | include/hw/xen/xen-legacy-backend.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/hw/xen/xen-legacy-backend.h b/include/hw/xen/xen-legacy-backend.h index 943732b..e198b12 100644 --- a/include/hw/xen/xen-legacy-backend.h +++ b/include/hw/xen/xen-legacy-backend.h @@ -50,10 +50,6 @@ void *xen_be_map_grant_refs(struct XenLegacyDevice *xendev, uint32_t *refs, void xen_be_unmap_grant_refs(struct XenLegacyDevice *xendev, void *ptr, uint32_t *refs, unsigned int nr_refs); -int xen_be_copy_grant_refs(struct XenLegacyDevice *xendev, - bool to_domain, XenGrantCopySegment segs[], - unsigned int nr_segs); - static inline void *xen_be_map_grant_ref(struct XenLegacyDevice *xendev, uint32_t ref, int prot) { @@ -70,6 +66,5 @@ static inline void xen_be_unmap_grant_ref(struct XenLegacyDevice *xendev, void xen_config_cleanup(void); int xen_config_dev_vfb(int vdev, const char *type); int xen_config_dev_vkbd(int vdev); -int xen_config_dev_console(int vdev); #endif /* HW_XEN_LEGACY_BACKEND_H */ |