[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] ioemu: fix a bug in serial_load



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1218012385 -3600
# Node ID d4dd0195379b9e29947221f1fe848bc9043cd3e4
# Parent  17e58d3331fed02f2d8fa0a5ba160cfa13e0c1aa
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@xxxxxxxxxxxxx>
---
 tools/ioemu/hw/serial.c |    1 -
 1 files changed, 1 deletion(-)

diff -r 17e58d3331fe -r d4dd0195379b tools/ioemu/hw/serial.c
--- a/tools/ioemu/hw/serial.c   Wed Aug 06 09:40:50 2008 +0100
+++ b/tools/ioemu/hw/serial.c   Wed Aug 06 09:46:25 2008 +0100
@@ -728,7 +728,6 @@ static int serial_load(QEMUFile *f, void
     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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.