From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpWJm-0001TD-Sf for qemu-devel@nongnu.org; Mon, 13 Oct 2008 18:55:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpWJk-0001QG-Gx for qemu-devel@nongnu.org; Mon, 13 Oct 2008 18:55:13 -0400 Received: from [199.232.76.173] (port=53020 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpWJk-0001Q9-8y for qemu-devel@nongnu.org; Mon, 13 Oct 2008 18:55:12 -0400 Received: from mx2.redhat.com ([66.187.237.31]:47454) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KpWJj-0003uK-Km for qemu-devel@nongnu.org; Mon, 13 Oct 2008 18:55:11 -0400 From: Glauber Costa Date: Mon, 13 Oct 2008 22:51:45 -0200 Message-Id: <1223945508-22241-5-git-send-email-glommer@redhat.com> In-Reply-To: <1223945508-22241-1-git-send-email-glommer@redhat.com> References: <1223945508-22241-1-git-send-email-glommer@redhat.com> Subject: [Qemu-devel] [PATCH 4/7] give noaccel a name Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: jan.kiszka@siemens.com, aliguori@us.ibm.com, jes@sgi.com, avi@qumranet.com, dmitry.baryshkov@siemens.com otherwise, string comparisons to check for the current accelerator may break. Signed-off-by: Glauber Costa --- accel.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/accel.c b/accel.c index f9618b2..bf3cb73 100644 --- a/accel.c +++ b/accel.c @@ -21,7 +21,7 @@ CPUState *noaccel_get_env(void) /* Accelerator wrapper for the no-accel (raw qemu) case */ QEMUAccel noaccel = { - .name = NULL, + .name = "noaccel", .cpu_interrupt = accel_nop, .init_env = accel_nop, .get_env = noaccel_get_env, -- 1.5.5.1