Skip to contentSkip to conversation

ioemu-remote: fix a bug in serial_load

PATCH New Stefano Stabellini 1 participant 1 message Aug 5, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ioemu-remote: 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.

---

hw/serial.c +0 -1
index 6ae3b20..d090a2b 100644
@@ -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);