qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 4/7] give noaccel a name


From: Glauber Costa
Subject: [Qemu-devel] [PATCH 4/7] give noaccel a name
Date: Mon, 13 Oct 2008 22:51:45 -0200

otherwise, string comparisons to check for the current accelerator
may break.

Signed-off-by: Glauber Costa <address@hidden>
---
 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]