From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URp4m-0007HH-Ic for qemu-devel@nongnu.org; Mon, 15 Apr 2013 15:28:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URp4l-0002vr-6j for qemu-devel@nongnu.org; Mon, 15 Apr 2013 15:28:28 -0400 Received: from mail-ea0-x22c.google.com ([2a00:1450:4013:c01::22c]:57343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URp4l-0002vi-0g for qemu-devel@nongnu.org; Mon, 15 Apr 2013 15:28:27 -0400 Received: by mail-ea0-f172.google.com with SMTP id z7so2441488eaf.31 for ; Mon, 15 Apr 2013 12:28:26 -0700 (PDT) From: edgar.iglesias@gmail.com Date: Mon, 15 Apr 2013 21:28:17 +0200 Message-Id: <1366054097-14132-1-git-send-email-edgar.iglesias@gmail.com> Subject: [Qemu-devel] [PATCH] Allow qtest to be used together with a virtual CPU List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: anthony@codemonkey.ws From: "Edgar E. Iglesias" Signed-off-by: Edgar E. Iglesias --- vl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vl.c b/vl.c index c566caf..0dbac29 100644 --- a/vl.c +++ b/vl.c @@ -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"); -- 1.7.10.4