diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-08-06 09:46:25 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-08-06 09:46:25 +0100 |
commit | 7b256cf63fd10776ff064829b74d3fa0a194378d (patch) | |
tree | 049ba836f2f135cca8ea52a5cd14afcb5709cd74 | |
parent | 1c6f32e9fe7fe1fef00995673c3eeb88eeded538 (diff) | |
download | xen-7b256cf63fd10776ff064829b74d3fa0a194378d.tar.gz xen-7b256cf63fd10776ff064829b74d3fa0a194378d.tar.bz2 xen-7b256cf63fd10776ff064829b74d3fa0a194378d.zip |
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 <stefano.stabellini@eu.citrix.com>
-rw-r--r-- | tools/ioemu/hw/serial.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |