qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 for 2.6 0/5] QMP wrappers for VM snapshot ope


From: Denis V. Lunev
Subject: Re: [Qemu-devel] [PATCH v2 for 2.6 0/5] QMP wrappers for VM snapshot operations
Date: Fri, 11 Dec 2015 12:33:39 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 12/04/2015 05:44 PM, Denis V. Lunev wrote:
EFI based VM with pflash storage for NVRAM could not be snapshoted as
libvirt configures storage as 'raw' and writable. OK, this is a libvirt
problem.

Another problem is that libvirt can not detect this failure at all
as it uses HMP for this operation. This create snapshot/delete snapshot
sequence passes silently.

The patchset adds QMP wrappers for the purpose.

Signed-off-by: "Denis V. Lunev" <address@hidden>
CC: Juan Quintela <address@hidden>
CC: Amit Shah <address@hidden>
CC: Markus Armbruster <address@hidden>
CC: Eric Blake <address@hidden>

Changes from v1:
- cosmetic fixes suggested by Markus. I pray I have added all of them :)
- patch 5 is rewritten completely. Original one was deadbeaf

Denis V. Lunev (5):
   migration: split hmp_savevm to do_savevm and hmp_savevm wrapper
   qmp: create qmp_savevm command
   qmp: create qmp_delvm command
   migration: improve error reporting for hmp_loadvm
   qmp: create QMP implementation of loadvm command

  include/sysemu/sysemu.h |   2 +-
  migration/savevm.c      | 100 +++++++++++++++++++++++++++++++-----------------
  monitor.c               |   7 +++-
  qapi-schema.json        |  39 +++++++++++++++++++
  qmp-commands.hx         |  71 ++++++++++++++++++++++++++++++++++
  vl.c                    |   5 ++-
  6 files changed, 185 insertions(+), 39 deletions(-)

ping



reply via email to

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