qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 06/11] fdc: fix migration of non-ISA fdc devices


From: Anthony Liguori
Subject: [Qemu-devel] [PATCH 06/11] fdc: fix migration of non-ISA fdc devices
Date: Tue, 22 Mar 2011 19:16:11 -0500

Again, we are not using a unique name for non-ISA fdc devices and as a result,
we may misinterpret an ISA fdc device as a non-ISA fdc device.

In this case, both ISA fdc and non-ISA fdc are using too generic of a name.
Since ISA fdc is more common, let it keep the old name.

Signed-off-by: Anthony Liguori <address@hidden>
---
 hw/fdc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/fdc.c b/hw/fdc.c
index 4b02dce..9432d09 100644
--- a/hw/fdc.c
+++ b/hw/fdc.c
@@ -1947,7 +1947,7 @@ static void init_vmstate_description_0(void)
 vmstate_init(init_vmstate_description_0);
 
 static const VMStateDescription vmstate_sysbus_fdc ={
-    .name = "fdc",
+    .name = "sysbus-fdc",
     .version_id = 2,
     .minimum_version_id = 2,
     .fields = (VMStateField []) {
-- 
1.7.0.4




reply via email to

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