Skip to contentSkip to conversation

Allow qtest to be used together with a virtual CPU

PATCH Applied [email protected] 2 participants 2 messages Apr 15, 2013 – Apr 22, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Allow qtest to be used together with a virtual CPU

From: "Edgar E. Iglesias" <[email protected]>

---
 vl.c |    4 ++++
 1 file changed, 4 insertions(+)
vl.c +4 -0
index c566caf..0dbac29 100644
@@ -4143,6 +4143,10 @@ int main(int argc, char **argv, char **envp)
 
     configure_accelerator();
 
+    if (!qtest_enabled() && qtest_chrdev) {
+        qtest_init();
+    }
+
     machine_opts = qemu_opts_find(qemu_find_opts("machine"), 0);
     if (machine_opts) {
         kernel_filename = qemu_opt_get(machine_opts, "kernel");
Signature · 1 line
1.7.10.4