Patchwork Fix migration, if we read a field, it is better if we wrote it first

login
register
mail settings
Submitter Juan Quintela
Date Aug. 13, 2009, 7:08 p.m.
Message ID <1250190517-15139-1-git-send-email-quintela@redhat.com>
Download mbox | patch
Permalink /patch/31350/
State Superseded
Headers show

Comments

Juan Quintela - Aug. 13, 2009, 7:08 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/ide.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/hw/ide.c b/hw/ide.c
index bebda7c..1e38ae3 100644
--- a/hw/ide.c
+++ b/hw/ide.c
@@ -2888,6 +2888,7 @@  static void ide_save(QEMUFile* f, IDEState *s)

     qemu_put_8s(f, &s->sense_key);
     qemu_put_8s(f, &s->asc);
+    qemu_put_8s(f, &s->cdrom_changed);
     /* XXX: if a transfer is pending, we do not save it yet */
 }