From: Daan De Meyer Date: Tue, 26 Mar 2024 08:56:07 +0000 (+0100) Subject: Allow escaping in QemuArgs= X-Git-Tag: v23~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=564f54a00e1db1aa1841cde50c0199f7a97c7c32;p=thirdparty%2Fmkosi.git Allow escaping in QemuArgs= Sometimes we need spaces inside the qemu argument so let's make sure that's possible. --- diff --git a/mkosi/config.py b/mkosi/config.py index 584d00e31..c008084b6 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -2808,7 +2808,7 @@ SETTINGS = ( dest="qemu_args", metavar="ARGS", section="Host", - parse=config_make_list_parser(delimiter=" "), + parse=config_make_list_parser(delimiter=" ", unescape=True), # Suppress the command line option because it's already possible to pass qemu args as normal # arguments. help=argparse.SUPPRESS,