migration: catch unknown flags in ram_load
commitdb80facefa62dff42bb50c73b0f03eda5f732b49
authorPeter Lieven <pl@kamp.de>
Tue, 10 Jun 2014 09:29:16 +0000 (10 11:29 +0200)
committerJuan Quintela <quintela@redhat.com>
Mon, 16 Jun 2014 02:55:27 +0000 (16 04:55 +0200)
tree3861bb55883487e6d57385ee750d675c6e37c27e
parent2a9343470432573acf06379bcbf8e5e6568507e4
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>
arch_init.c
migration.c