summaryrefslogtreecommitdiffstats
path: root/core/modules/qemu/data
diff options
context:
space:
mode:
authorSimon Rettberg2025-03-27 14:12:49 +0100
committerSimon Rettberg2025-03-27 14:12:49 +0100
commit9a5f5e1f9ff51b59ea003c8f8cf8d43154454465 (patch)
treedfa29bd893702ebd14651240818bd0f8918be601 /core/modules/qemu/data
parent[run-virt] Conditionally pass through USB ethernet adapters (diff)
downloadmltk-9a5f5e1f9ff51b59ea003c8f8cf8d43154454465.tar.gz
mltk-9a5f5e1f9ff51b59ea003c8f8cf8d43154454465.tar.xz
mltk-9a5f5e1f9ff51b59ea003c8f8cf8d43154454465.zip
[qemu] Honor SLX_PASSTHROUGH_USB_ID for USB autoconnect on startup
Diffstat (limited to 'core/modules/qemu/data')
-rw-r--r--core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include b/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include
index e578de88..22f954d0 100644
--- a/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include
+++ b/core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include
@@ -126,7 +126,7 @@ run_plugin() {
# See if there are any USB devices connected that we want to pass through immediately
# --spice-usbredir-redirect-on-connect="0x03,-1,-1,-1,0|-1,-1,-1,-1,1"
- VIRTCMDOPTS+=( $( get_usb_devices '-usbredir -1,%VENDOR%,%PRODUCT%,-1,1' ) )
+ VIRTCMDOPTS+=( $( get_usb_devices '--usbredir=-1,0x%VENDOR%,0x%PRODUCT%,-1,1' ) )
if [ "${SHARE_REMAP_MODE}" -gt 1 ]; then