From: Juan Quintela <quintela@redhat.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
qemu-devel <qemu-devel@nongnu.org>,
Liran Schour <LIRANS@il.ibm.com>,
Pierre Riteau <Pierre.Riteau@irisa.fr>
Subject: [Qemu-devel] Re: [PATCH] vmstate: Avoid seeking
Date: Wed, 02 Dec 2009 12:24:27 +0100 [thread overview]
Message-ID: <m3638phb4k.fsf@neno.neno> (raw)
In-Reply-To: <4B164C21.3040406@siemens.com> (Jan Kiszka's message of "Wed, 02 Dec 2009 12:14:41 +0100")
Jan Kiszka <jan.kiszka@siemens.com> wrote:
> Juan Quintela wrote:
>> Jan Kiszka <jan.kiszka@web.de> wrote:
>>> Seeking on vmstate save/load does not work if the underlying file is a
>>> stream. We could try to make all QEMUFile* forward-seek-aware, but first
>>> attempts in this direction indicated that it's saner to convert the few
>>> qemu_fseek-on-vmstates users to plain reads/writes.
>>>
>>> This fixes various subtle vmstate corruptions where unused fields were
>>> involved.
>>>
>>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>>
>> Something changed lately. This used to work, and I also waste^spend
>> yesterday trying to understand why it was failing to me.
>
> I'm quite sure it never really worked. Maybe the bug was just papered over.
>
>>
>> I am splitting the patch in virtio-net and savevm parts. (In my tree
>> virtio-net don't use fseek anymore).
>
> OK, then I will drop this patch from my queue. BTW, where is your tree
> hosted?
http://repo.or.cz/w/qemu/quintela.git/shortlog/refs/heads/vmstate/virtio
This one has not still in upstream:
- the audio changes that I have just posted
- vmstate cleanups (yours and more)
- msix/virtio port to vmstate
I am splitting vmstate/cleanups at this moment to send the two series
upstream. I am in the point where everything compiles and run,
i.e. only need to reorder patches.
Later, Juan.
>>
>> Thanks for finding the bug.
>>
>> Later, Juan.
>
> Jan
prev parent reply other threads:[~2009-12-02 11:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-01 23:38 [Qemu-devel] [PATCH] vmstate: Avoid seeking Jan Kiszka
2009-12-02 3:24 ` Ryan Harper
2009-12-02 10:05 ` [Qemu-devel] " Juan Quintela
2009-12-02 11:14 ` Jan Kiszka
2009-12-02 11:24 ` Juan Quintela [this message]
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=m3638phb4k.fsf@neno.neno \
--to=quintela@redhat.com \
--cc=LIRANS@il.ibm.com \
--cc=Pierre.Riteau@irisa.fr \
--cc=aliguori@us.ibm.com \
--cc=jan.kiszka@siemens.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.