summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2009-08-13 13:58:21 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 21:23:38 -0500
commit1960cacfeb2ba02b794ac4c6d80d77203068be85 (patch)
treedbb382968cf68d76a40f4d01921d05f7c7fe31e4
parentbf3516fa924447f4fd5c129753507bc5748312e8 (diff)
downloadqemu-1960cacfeb2ba02b794ac4c6d80d77203068be85.tar.gz
Fix migration for ide devices
commit 93c8cfd9e67a62711b86f4c93747566885eb7928 Author: Gleb Natapov <gleb@redhat.com> Date: Sun Aug 2 11:36:47 2009 +0300 make windows notice media change Broke save/restore by loading a new field but not saving it. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--hw/ide.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide.c b/hw/ide.c
index bebda7cfca..1e38ae3eac 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 */
}