]> git.proxmox.com Git - mirror_qemu.git/blobdiff - vl.c
accel: Pass MachineState object to accel init functions
[mirror_qemu.git] / vl.c
diff --git a/vl.c b/vl.c
index c3def2166698357761e32ef667d4d464a49bd08e..020b7c3d76f6242b279d19ee0acc2da8bf0cb46a 100644 (file)
--- a/vl.c
+++ b/vl.c
@@ -4179,7 +4179,7 @@ int main(int argc, char **argv, char **envp)
         exit(1);
     }
 
-    configure_accelerator(machine_class);
+    configure_accelerator(current_machine);
 
     if (qtest_chrdev) {
         Error *local_err = NULL;