]> git.proxmox.com Git - mirror_qemu.git/commit
vl: Parse legacy default_machine_opts
authorJason Andryuk <jandryuk@gmail.com>
Tue, 13 Jul 2021 02:15:52 +0000 (22:15 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 20 Jul 2021 15:06:28 +0000 (17:06 +0200)
commitdadafe6785ada3ec4a2d11410c691458b3c2b39f
tree09fb257fb4636f67d2e51010ac4175a010ff2cb1
parent461fea9bf1db0e122cfc18ea07958ddebea5d9a3
vl: Parse legacy default_machine_opts

qemu can't start a xen vm after commit d8fb7d0969d5
"vl: switch -M parsing to keyval" with:

$ ./qemu-system-i386 -M xenfv
Unexpected error in object_property_find_err() at ../qom/object.c:1298:
qemu-system-i386: Property 'xenfv-3.1-machine.accel' not found
Aborted (core dumped)

The default_machine_opts handling doesn't process the legacy machine
options like "accel".  Call qemu_apply_legacy_machine_options to provide
the legacy handling.

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Message-Id: <20210713021552.19110-1-jandryuk@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
softmmu/vl.c