commit a536948b3805a311f274b119c5202fdc86504cf3 Author: Anthony Liguori Date: Thu Aug 13 13:58:21 2009 -0500 Fix migration for ide devices commit 93c8cfd9e67a62711b86f4c93747566885eb7928 Author: Gleb Natapov 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 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 */ }