Skip to content
Commit e1ce0c3c authored by Marcel Apfelbaum's avatar Marcel Apfelbaum Committed by Michael Roth
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>
(cherry picked from commit 364c3e6b)
Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
parent cb3360db
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