All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ioemu-remote: fix a bug in serial_load
@ 2008-08-05 11:43 Stefano Stabellini
  0 siblings, 0 replies; only message in thread
From: Stefano Stabellini @ 2008-08-05 11:43 UTC (permalink / raw)
  To: xen-devel

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);

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-05 11:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-05 11:43 [PATCH] ioemu-remote: fix a bug in serial_load Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.