Re: [Qemu-devel] [PATCH] vmstate: Avoid seeking

2009-12-01 Thread Ryan Harper
* Jan Kiszka [2009-12-01 17:44]: > 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 rea

[Qemu-devel] [PATCH] vmstate: Avoid seeking

2009-12-01 Thread Jan Kiszka
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 vmst