qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCHv3] migration: catch unknown flags in ram_load


From: Peter Lieven
Subject: Re: [Qemu-devel] [PATCHv3] migration: catch unknown flags in ram_load
Date: Tue, 10 Jun 2014 10:47:56 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

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: address@hidden
Signed-off-by: Peter Lieven <address@hidden>
Reviewed-by: Amit Shah <address@hidden>

---
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
  address@hidden | http://www.kamp.de

  Geschäftsführer: Heiner Lante | Michael Lante
  Amtsgericht Duisburg | HRB Nr. 12154
  USt-Id-Nr.: DE 120607556

...........................................................




reply via email to

[Prev in Thread] Current Thread [Next in Thread]