aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel.a@redhat.com>2014-04-09 20:34:51 +0300
committerAndreas Färber <afaerber@suse.de>2014-05-05 19:08:49 +0200
commitaaa663916d78aeb51a97842735052e7c8859dc9e (patch)
tree3f8ccdafbdc07a6490e88ea893e8df68569b99d3 /vl.c
parent00b4fbe27452ddc346f7f38d5690686166932588 (diff)
vl.c: Replace QEMUMachine with MachineClass in QEMUMachineInitArgs
QEMUMachine's fields are already in MachineClass. We can safely make the switch because we copy them in machine_class_init() and spapr_machine_class_init(). Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vl.c b/vl.c
index 3229c2ff12..2c2b625b37 100644
--- a/vl.c
+++ b/vl.c
@@ -4430,7 +4430,7 @@ int main(int argc, char **argv, char **envp)
qdev_machine_init();
current_machine->init_args = (QEMUMachineInitArgs) {
- .machine = machine,
+ .machine = machine_class,
.ram_size = ram_size,
.boot_order = boot_order,
.kernel_filename = kernel_filename,