diff --git a/quickemu b/quickemu index 42f8332..b83729b 100755 --- a/quickemu +++ b/quickemu @@ -1003,6 +1003,10 @@ function vm_boot() { -device tpm-tis,tpmdev=tpm0) fi + if [ -n "$extra_args" ]; then + args+=($extra_args) + fi + # The OSK parameter contains parenthesis, they need to be escaped in the shell # scripts. The vendor name, Quickemu Project, contains a space. It needs to be # double-quoted. @@ -1105,6 +1109,7 @@ ram="" secureboot="off" tpm="off" usb_devices=() +extra_args="" DELETE_DISK=0 DELETE_VM=0