From: Keir Fraser Date: Wed, 6 Aug 2008 08:45:02 +0000 (+0100) Subject: fix a bug in serial_load X-Git-Tag: xen-3.3.0-rc3~1 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3e4a3d2b5bcbfb2dd03d6ef28295895cc8d2e9e0;p=qemu-xen-3.3-testing.git 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 --- diff --git a/hw/serial.c b/hw/serial.c index 6ae3b203..d090a2b0 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);