]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
migration: catch unknown flags in ram_load
authorPeter Lieven <pl@kamp.de>
Tue, 10 Jun 2014 09:29:16 +0000 (11:29 +0200)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 1 Jul 2014 16:11:36 +0000 (11:11 -0500)
commit69b7aacc013ce99fe0c945c40c614228ce604a83
treee9e962982463ed10f8e2853845023d634b70c8f4
parent3102b1a2211eb64b296326fd593b1dec309de6d0
migration: catch unknown flags in ram_load

if a saved vm has unknown flags in the memory data qemu
currently simply ignores this flag and continues which
yields in an unpredictable result.

This patch catches all unknown flags and aborts the
loading of the vm. Additionally error reports are thrown
if the migration aborts abnormally.

Signed-off-by: Peter Lieven <pl@kamp.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
(cherry picked from commit db80facefa62dff42bb50c73b0f03eda5f732b49)

Conflicts:
arch_init.c

*removed unecessary context from 4798fe55

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
arch_init.c
migration.c