qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 0bf5e44] Fix migration for ide devices


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 0bf5e44] Fix migration for ide devices
Date: Thu, 13 Aug 2009 21:10:53 -0000

From: Anthony Liguori <address@hidden>

commit 93c8cfd9e67a62711b86f4c93747566885eb7928
Author: Gleb Natapov <address@hidden>
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 <address@hidden>

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 */
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]