[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 for 2.6 0/5] QMP wrappers for VM snapshot operati
From: |
Denis V. Lunev |
Subject: |
[Qemu-devel] [PATCH v2 for 2.6 0/5] QMP wrappers for VM snapshot operations |
Date: |
Fri, 4 Dec 2015 17:44:30 +0300 |
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(-)
- [Qemu-devel] [PATCH v2 for 2.6 0/5] QMP wrappers for VM snapshot operations,
Denis V. Lunev <=
- [Qemu-devel] [PATCH 2/5] qmp: create qmp_savevm command, Denis V. Lunev, 2015/12/04
- [Qemu-devel] [PATCH 1/5] migration: split hmp_savevm to do_savevm and hmp_savevm wrapper, Denis V. Lunev, 2015/12/04
- [Qemu-devel] [PATCH 3/5] qmp: create qmp_delvm command, Denis V. Lunev, 2015/12/04
- [Qemu-devel] [PATCH 4/5] migration: improve error reporting for load_vmstate, Denis V. Lunev, 2015/12/04
- [Qemu-devel] [PATCH 5/5] qmp: create QMP implementation of loadvm command, Denis V. Lunev, 2015/12/04