diff options
author | Manuel Bentele | 2022-04-04 08:17:32 +0200 |
---|---|---|
committer | Manuel Bentele | 2022-04-04 08:17:32 +0200 |
commit | d2d583884720e01dbda46fbc853b70ab665bfbd3 (patch) | |
tree | b65153aa16171a5a6a924dc67e75e8d18ebcd233 /core/modules/qemu/data | |
parent | [xorg] Mirror libgl1-mesa-dri (diff) | |
download | mltk-d2d583884720e01dbda46fbc853b70ab665bfbd3.tar.gz mltk-d2d583884720e01dbda46fbc853b70ab665bfbd3.tar.xz mltk-d2d583884720e01dbda46fbc853b70ab665bfbd3.zip |
[qemu] Add device passthrough debug mode
Diffstat (limited to 'core/modules/qemu/data')
-rw-r--r-- | core/modules/qemu/data/opt/openslx/vmchooser/plugins/qemukvm/run-virt.include | 4 |
1 files changed, 4 insertions, 0 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 3e0aa68c..678ce7af 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 @@ -73,11 +73,15 @@ run_plugin() { gsettings set "${GSETTINGS_SCHEMA_NAME_PREFIX}.vm:${GSETTINGS_SCHEMA_PATH_PREFIX}/vm/" "resize-guest" "1" fi + # set device passthrough debug mode + debug_pth="false" + # call the Libvirt Java tool to finalize configuration and start VM declare -rg VIRTCMD="java" VIRTCMDOPTS=( "-jar" "${QEMU_PLUGIN_DIR}/runvirt-plugin-qemu.jar" ) notempty DEBUG && VIRTCMDOPTS+=( "-debug" "${DEBUG}" ) + notempty debug_pth && VIRTCMDOPTS+=( "-debugpth" "${debug_pth}" ) notempty firmware_path && VIRTCMDOPTS+=( "-firmware" "${firmware_path}" ) notempty VM_CLEANNAME && VIRTCMDOPTS+=( "-vmname" "${VM_CLEANNAME}" ) notempty VM_DISPLAYNAME && VIRTCMDOPTS+=( "-vmdsplname" "${VM_DISPLAYNAME}" ) |