]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Allow escaping in QemuArgs=
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 26 Mar 2024 08:56:07 +0000 (09:56 +0100)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Tue, 26 Mar 2024 09:03:18 +0000 (10:03 +0100)
Sometimes we need spaces inside the qemu argument so let's make sure
that's possible.

mkosi/config.py

index 584d00e311ba11b7740ebc6b396aced2e4966e05..c008084b6885039000e4e072ba85f68a8c6a740f 100644 (file)
@@ -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,