diff options
author | Edgar E. Iglesias <edgar.iglesias@gmail.com> | 2013-04-15 21:28:17 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-04-15 17:05:34 -0500 |
commit | a907cf59d8a41ecb909ad4367cd016c7d71f8546 (patch) | |
tree | cbce2aa122ae2316650317fc59531767f731d15c /vl.c | |
parent | fe6c211781f80ef4fc246269cecbbc21981089f0 (diff) | |
download | qemu-a907cf59d8a41ecb909ad4367cd016c7d71f8546.zip qemu-a907cf59d8a41ecb909ad4367cd016c7d71f8546.tar.gz qemu-a907cf59d8a41ecb909ad4367cd016c7d71f8546.tar.bz2 |
Allow qtest to be used together with a virtual CPU
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Message-id: 1366054097-14132-1-git-send-email-edgar.iglesias@gmail.com
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4127,6 +4127,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"); |