On 01/24/2011 10:30 AM, 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 a checker whether
subsection is needed, and skips following routines if not needed.

Signed-off-by: Yoshiaki Tamura<tamura.yoshi...@lab.ntt.co.jp>

VMS_STRUCT is a can of worms, since almost all uses of subsections _are_ VMS_STRUCTs. So almost all uses of subsections have ambiguous parsing. :/

So, for now,

Acked-by: Paolo Bonzini <pbonz...@redhat.com>

Paolo

Reply via email to