aboutsummaryrefslogtreecommitdiff
path: root/hw/hw.h
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@web.de>2009-12-02 12:36:35 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-03 10:04:53 -0600
commit21174c34b6b9ace9ad82e0deb13be752d28a5907 (patch)
tree9a9c59436a56407f2c9139bf4cb6c2bdeebb97ef /hw/hw.h
parente560125e2692714054b718b51211f32a311538b5 (diff)
vmstate: Avoid seeking
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> Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/hw.h')
0 files changed, 0 insertions, 0 deletions