diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-13 13:58:21 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-13 16:05:12 -0500 |
commit | 0bf5e443bdf13a42824b3a65ed92f0a8540fc0bf (patch) | |
tree | 659ac375659514d338c5fad761a8921f2c94135b /hw/ide.c | |
parent | 0c5b8d831d72c8393949dbba435073e3d9dcffe8 (diff) |
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>
Diffstat (limited to 'hw/ide.c')
-rw-r--r-- | hw/ide.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 */ } |