Increase number of available USB devices in VMs

This commit is contained in:
Raphael Dannecker 2025-04-03 07:22:10 +02:00
parent c9b7874eff
commit 5438151f3d

View file

@ -353,6 +353,11 @@ if ! virsh --connect="${QEMU}" list | grep "${VM_NAME}-clone"; then
--check path_in_use=off \ --check path_in_use=off \
--connect="${QEMU}" \ --connect="${QEMU}" \
--noautoconsole \ --noautoconsole \
--redirdev usb,type=spicevmc \
--redirdev usb,type=spicevmc \
--redirdev usb,type=spicevmc \
--redirdev usb,type=spicevmc \
--redirdev usb,type=spicevmc \
${LIBVIRTOPTS} ${LIBVIRTOPTS}
# --dry-run \ # --dry-run \