]> git.proxmox.com Git - qemu-server.git/commit
usb: Add USB3 capabilities to Spice USB devices
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 11 Sep 2019 12:43:32 +0000 (14:43 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 21 Sep 2019 11:22:17 +0000 (13:22 +0200)
commitae36393d5a2862ce4c99d3b27cb8d1265c7eb04e
tree6ba239fbd8e304ed59877c40655e61cdf06d3c46
parent47717a90cf2530437948bbd286be533917ed3474
usb: Add USB3 capabilities to Spice USB devices

To not change current behaviour and thus breaking live migration USB3
for a Spice USB device requires Qemu v4.1.

The old behavior was that even though technically it was possible to
the set `usb3=1` setting, it was ignored. The bus was hardcoded to
ehci. If another USB2 device was added or the machine type was set to
Q35 an ehci controller was present and the VM was able to boot.

With this patch the behaviour is changing and the bus is set to xhci if
USB3 is set for the Spice USB device and the VM is running under Qemu
v4.1.

Signed-off-by: Aaron Lauterer <a.lauterer@proxmox.com>
PVE/QemuServer.pm
PVE/QemuServer/USB.pm