]> git.proxmox.com Git - qemu-server.git/commit
use better usb config parsing
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 11 Feb 2016 14:49:09 +0000 (15:49 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 11 Feb 2016 15:42:24 +0000 (16:42 +0100)
commita6b9aee42a7d552c586cad5b7783cd3091faabc5
tree90a5ebd93de5d182f15765fc24a463955e38da5b
parenta2e698e75c5e81ef96eaafc3f3cde48df884f954
use better usb config parsing

since we want the usb3 option to be really boolean and not only
'usb3=yes', we have to change the usb json format a little

to not break existing configs for 'usbX: spice', we set the 'host'
option as non-optional and default_key and allow 'spice' as its
content (this also makes the option less ambiguous)

another side effect is that previously accepted multiple 'host='
entries are now forbidden

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/QemuServer.pm