]> git.proxmox.com Git - qemu-server.git/commit - PVE/API2/Qemu.pm
allow non root users to add spice usb port
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 12 Apr 2019 14:08:37 +0000 (16:08 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Apr 2019 14:13:52 +0000 (16:13 +0200)
commit165be267ebff3f614cc6b56bbb594ef4d456a4e9
tree0e61e0a56b5baabb451cd9c42f29d798869f144e
parente30f75c571a6a678f8f1f3dfb2dee1b622b49185
allow non root users to add spice usb port

using the same logic like serialX: socket
users need VM.Config.HWType for usbX: spice
but only root can add/remove real devices

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