Jan Kiszka <jan.kis...@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.kis...@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 am splitting the patch in virtio-net and savevm parts. (In my tree virtio-net don't use fseek anymore). Thanks for finding the bug. Later, Juan.