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

2011-01-19 Thread Yoshiaki Tamura
2010/12/14 Yoshiaki Tamura tamura.yoshi...@lab.ntt.co.jp: 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.  

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

2010-12-14 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