xen: attach pvusb usb bus to backend qdev
commitf1784a222eed213ce3213f431bc2f9c570f20c3e
authorJuergen Gross <jgross@suse.com>
Tue, 22 Nov 2016 06:10:59 +0000 (22 07:10 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 22 Nov 2016 18:29:41 +0000 (22 10:29 -0800)
tree4259262026f5f52fdced9c90e1f070be5b27ab01
parent3a6c9172ac5951e6dac2b3f6cbce3cfccdec5894
xen: attach pvusb usb bus to backend qdev

Attach the usb bus of a new pvusb controller to the qdev associated
with the Xen backend. Any device connected to that controller can now
specify the bus and port directly via its properties.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
hw/usb/xen-usb.c