]> git.proxmox.com Git - qemu-server.git/commit
usb: Fix local resource check of Spice USB devices
authorAaron Lauterer <a.lauterer@proxmox.com>
Wed, 11 Sep 2019 12:43:33 +0000 (14:43 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Sat, 21 Sep 2019 11:42:47 +0000 (13:42 +0200)
commita9ce7583cf0e1979255978216d6860b10c49a1f9
tree3535554879ea7a35ec873d29e7d17932b5323340
parentff9e7dc1bb6b9506231628118ab5e44792157295
usb: Fix local resource check of Spice USB devices

The check relied on the fact that in a regular use case a usb device of
type spice would not have any other settings like `usb3=1`. An exact
match worked fine for this.

This patch changes the behaviour and makes it possible to migrate VMs
with Spice USB devices that have additional usb options set.

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