ia64/xen-unstable

changeset 18275:d4dd0195379b

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>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Aug 06 09:46:25 2008 +0100 (2008-08-06)
parents 17e58d3331fe
children 11aaad01c5e5
files tools/ioemu/hw/serial.c
line diff
     1.1 --- a/tools/ioemu/hw/serial.c	Wed Aug 06 09:40:50 2008 +0100
     1.2 +++ b/tools/ioemu/hw/serial.c	Wed Aug 06 09:46:25 2008 +0100
     1.3 @@ -728,7 +728,6 @@ static int serial_load(QEMUFile *f, void
     1.4      qemu_get_8s(f,&s->lsr);
     1.5      qemu_get_8s(f,&s->msr);
     1.6      qemu_get_8s(f,&s->scr);
     1.7 -    qemu_get_8s(f,&s->fcr);
     1.8  
     1.9      if (version_id >= 2)
    1.10          qemu_get_8s(f,&fcr);