mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-01 04:51:50 +00:00
![]() this patch allows configuring usb devices that are mapped via cluster resource mapping when the user has 'Mapping.Use' on the ACL path '/mapping/usb/{ID}' (in addition to the usual required vm config privileges) for now, this is only valid if there is exactly one mapping for the host, since we don't track passed through usb devices yet This now also checks permissions on clone/restore, meaning a 'non-mapped' device can only be cloned/restored as root@pam user. That is a breaking change. Refactor the checks for restoring into a sub, so we have central place where we can add such checks Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> Tested-By: Markus Frank <m.frank@proxmox.com> |
||
---|---|---|
.. | ||
Qemu | ||
Makefile | ||
Qemu.pm |