summaryrefslogtreecommitdiff
path: root/include/hw/xen/xen_backend.h
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2016-05-12 16:13:41 +0200
committerGerd Hoffmann <kraxel@redhat.com>2016-05-23 13:30:03 +0200
commit816ac92ef769f9ffc534e49a1bb6177bddce7aa2 (patch)
treed0b2a6b858cdf65db0a3d199c5847ae80e14b66d /include/hw/xen/xen_backend.h
parent637c53ffcb891ce8876183e6b593b8f0c3763ab1 (diff)
downloadqemu-816ac92ef769f9ffc534e49a1bb6177bddce7aa2.tar.gz
xen: add pvUSB backend
Add a backend for para-virtualized USB devices for xen domains. The backend is using host-libusb to forward USB requests from a domain via libusb to the real device(s) passed through. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Anthony PERARD <anthony.perard@citrix.com> Message-id: 1463062421-613-4-git-send-email-jgross@suse.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/hw/xen/xen_backend.h')
-rw-r--r--include/hw/xen/xen_backend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/hw/xen/xen_backend.h b/include/hw/xen/xen_backend.h
index 63364f71d0..6e18a46a97 100644
--- a/include/hw/xen/xen_backend.h
+++ b/include/hw/xen/xen_backend.h
@@ -101,6 +101,9 @@ extern struct XenDevOps xen_kbdmouse_ops; /* xen_framebuffer.c */
extern struct XenDevOps xen_framebuffer_ops; /* xen_framebuffer.c */
extern struct XenDevOps xen_blkdev_ops; /* xen_disk.c */
extern struct XenDevOps xen_netdev_ops; /* xen_nic.c */
+#ifdef CONFIG_USB_LIBUSB
+extern struct XenDevOps xen_usb_ops; /* xen-usb.c */
+#endif
void xen_init_display(int domid);