]> git.ipfire.org Git - thirdparty/qemu.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, 5 Aug 2014 18:45:18 +0000 (13:45 -0500)
commit6ea6bd5d7594eabfbc94a2dc1aaf10cb81c88e55
tree719a89d775e2fbffcdd128052ca51d860b51e3a3
parent86cfc1044047ae969da74766f436a4bda51db337
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)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
arch_init.c
migration.c