search for: serial_load

Displaying 2 results from an estimated 2 matches for "serial_load".

2008 Aug 05
0
[PATCH] 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. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> --- diff --git a/hw/serial.c b/hw/serial.c index 6ae3b20..d090a2b 100644 --- a/hw/serial.c +++ b/hw/serial.c @@ -744,7 +744,6 @@ static int serial_load(QEMUFile *f, void *opaque, int versi...
2008 May 15
0
[PATCH][QEMU] serial save load fix
NOTE: An applicable subset of this patch was also submitted to upstream qemu. SUMMARY: This patch fixes several bugs in serial.c (1) A typo in serial_save() where qemu_get_8s is called (should be qemu_put_8s) (2) No support provided in serial_load() for version_id == 1 (should unmarshal a 1 byte s->divider and should provide a default value for s->fcr (3) Call serial_ioport_write() to initialize s->fcr. It is not sufficient to load its value; other hidden values (such as s->recv_fifo.itl) must be re-initialized. Signed-off-by:...