On 10.06.2014 10:45, Amit Shah wrote:
On (Tue) 10 Jun 2014 [10:04:23], Peter Lieven wrote:
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.
CC: qemu-sta...@nongnu.org
Signed-off-by: Peter Lieven <p...@kamp.de>
Reviewed-by: Amit Shah <amit.s...@redhat.com>
---
v2->v3: - reworked last case in the if statement
- added an error_report in case of an unknown flag [David]
Thanks. Would be nice to get an error_report() for the other error
conditions, too. It's not fun to learn migration has failed, w/o any
clue of why or where.
Ok, will send v4.
Peter
Amit
--
Mit freundlichen Grüßen
Peter Lieven
...........................................................
KAMP Netzwerkdienste GmbH
Vestische Str. 89-91 | 46117 Oberhausen
Tel: +49 (0) 208.89 402-50 | Fax: +49 (0) 208.89 402-40
p...@kamp.de | http://www.kamp.de
Geschäftsführer: Heiner Lante | Michael Lante
Amtsgericht Duisburg | HRB Nr. 12154
USt-Id-Nr.: DE 120607556
...........................................................