From: Keir Fraser Date: Wed, 6 Aug 2008 08:46:25 +0000 (+0100) Subject: ioemu: fix a bug in serial_load X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14165^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=7b256cf63fd10776ff064829b74d3fa0a194378d;p=xen.git ioemu: 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/tools/ioemu/hw/serial.c b/tools/ioemu/hw/serial.c index c6758315a2..30d9fbe620 100644 --- a/tools/ioemu/hw/serial.c +++ b/tools/ioemu/hw/serial.c @@ -728,7 +728,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);