Skip to content
Commit 364c3e6b authored by Marcel Apfelbaum's avatar Marcel Apfelbaum Committed by Paolo Bonzini
Browse files

vl.c: fix regression when reading machine type from config file



After 'Machine as QOM' series the machine type input triggers
the creation of the machine class.
If the machine type is set in the configuration file, the machine
class is not updated accordingly and remains the default.

Fixed that by querying the machine options after the configuration
file is loaded.

Cc: qemu-stable@nongnu.org
Reported-by: default avatarWilliam Dauchy <william@gandi.net>
Signed-off-by: default avatarMarcel Apfelbaum <marcel@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent e76d4420
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment