stages/qemu: fix 'compat' option

The option got renamed to `compat` (and moved into the `qemu`
object) when the stage was extracted from the `qemu` assembler;
but the code, taken from the assembler, still used the old
`qcow2_compat` name for the option. Fix this.
This commit is contained in:
Christian Kellner 2021-09-22 10:30:52 +00:00
parent 7be475151d
commit 21ad9fa399

View file

@ -126,7 +126,7 @@ SCHEMA_2 = r"""
def qcow2_arguments(options):
argv = ["-c"]
compat = options.get("qcow2_compat")
compat = options.get("compat")
if compat:
argv += ["-o", f"compat={compat}"]