Re: [Qemu-devel] [PATCH 0.14] savevm: fix corruption in vmstate_subsection_load().

2011-02-04 Thread Anthony Liguori
On 02/02/2011 10:34 PM, Yoshiaki Tamura wrote: 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

[Qemu-devel] [PATCH 0.14] savevm: fix corruption in vmstate_subsection_load().

2011-02-02 Thread Yoshiaki Tamura
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 skip