From: Gleb Natapov <gleb@redhat.com>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Paolo Bonzini <bonzini@gnu.org>,
qemu-devel@nongnu.org, Luiz Capitulino <lcapitulino@redhat.com>
Subject: Re: [Qemu-devel] save/restore broken?
Date: Thu, 13 Aug 2009 22:55:17 +0300 [thread overview]
Message-ID: <20090813195517.GB4636@redhat.com> (raw)
In-Reply-To: <4A8462A8.1020206@codemonkey.ws>
On Thu, Aug 13, 2009 at 01:59:52PM -0500, Anthony Liguori wrote:
> Luiz Capitulino wrote:
> >On Tue, 11 Aug 2009 18:39:47 +0200
> >Paolo Bonzini <bonzini@gnu.org> wrote:
> >
> >>Hi all,
> >>
> >>if I try to save and restore an image using current qemu and
> >>current libvirt, the load fails.
> >
> > Yes, it's broken. I'm unable to loadvm and to migrate.
> >
> > According to git bisect the problem was introduced by:
> This should fix it.
>
> Regards,
>
> Anthony Liguori
> commit a536948b3805a311f274b119c5202fdc86504cf3
> Author: Anthony Liguori <aliguori@us.ibm.com>
> Date: Thu Aug 13 13:58:21 2009 -0500
>
> 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>
>
> 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 */
> }
>
Yap. Got lost between v3 and v4 of the patch :(
--
Gleb.
next prev parent reply other threads:[~2009-08-13 19:55 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-11 16:39 [Qemu-devel] save/restore broken? Paolo Bonzini
2009-08-13 18:48 ` Luiz Capitulino
2009-08-13 18:59 ` Anthony Liguori
2009-08-13 19:55 ` Gleb Natapov [this message]
2009-08-13 20:08 ` Luiz Capitulino
2009-08-13 19:23 ` [Qemu-devel] " Juan Quintela
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090813195517.GB4636@redhat.com \
--to=gleb@redhat.com \
--cc=anthony@codemonkey.ws \
--cc=bonzini@gnu.org \
--cc=lcapitulino@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).