Stefano Stabellini
2008-Aug-05  11:43 UTC
[Xen-devel] [PATCH] ioemu-remote: fix a bug in serial_load
Currently we are trying to read the same value twice in the serial_load
function, this patch fixes that.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
---
diff --git a/hw/serial.c b/hw/serial.c
index 6ae3b20..d090a2b 100644
--- a/hw/serial.c
+++ b/hw/serial.c
@@ -744,7 +744,6 @@ static int serial_load(QEMUFile *f, void *opaque, int
version_id)
     qemu_get_8s(f,&s->lsr);
     qemu_get_8s(f,&s->msr);
     qemu_get_8s(f,&s->scr);
-    qemu_get_8s(f,&s->fcr);
 
     if (version_id >= 2)
         qemu_get_8s(f,&fcr);
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
