|author||Yoshiaki Tamura <firstname.lastname@example.org>||2011-02-03 13:34:08 +0900|
|committer||Anthony Liguori <email@example.com>||2011-02-04 06:33:26 -0600|
savevm: fix corruption in vmstate_subsection_load().
Although it's rare to happen in live migration, when the head of a byte stream contains 0x05 which is the marker of subsection, the loader gets corrupted because vmstate_subsection_load() continues even the device doesn't require it. This patch adds a checker whether subsection is needed, and skips following routines if not needed. Signed-off-by: Yoshiaki Tamura <firstname.lastname@example.org> Acked-by: Paolo Bonzini <email@example.com> Signed-off-by: Anthony Liguori <firstname.lastname@example.org>
Diffstat (limited to 'qemu-timer.c')
0 files changed, 0 insertions, 0 deletions