[PATCH v2 0/4] support memory failure

zhenwei pi posted 4 patches 3 years, 6 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20201012123159.908654-1-pizhenwei@bytedance.com
There is a newer version of this series
examples/c/misc/event-test.c        | 16 ++++++++
include/libvirt/libvirt-domain.h    | 82 +++++++++++++++++++++++++++++++++++++
src/conf/domain_event.c             | 80 ++++++++++++++++++++++++++++++++++++
src/conf/domain_event.h             | 12 ++++++
src/libvirt_private.syms            |  2 +
src/qemu/qemu_monitor.c             | 21 +++++++++-
src/qemu/qemu_monitor.h             | 39 ++++++++++++++++++
src/qemu/qemu_monitor_json.c        | 49 ++++++++++++++++++++++
src/qemu/qemu_process.c             | 59 ++++++++++++++++++++++++++
src/remote/remote_daemon_dispatch.c | 32 +++++++++++++++
src/remote/remote_driver.c          | 32 +++++++++++++++
src/remote/remote_protocol.x        | 16 +++++++-
src/remote_protocol-structs         |  8 ++++
tools/virsh-domain.c                | 40 ++++++++++++++++++
14 files changed, 486 insertions(+), 2 deletions(-)
[PATCH v2 0/4] support memory failure
Posted by zhenwei pi 3 years, 6 months ago
v1->v2:
    Seperate a 'all in one' patch into 4 patches.
    Use a 'flags' with bit definition instead of 'action_required'
        & 'recursive' for extention.
    Queue event directly without internal job.
    Add full test method in commit.

v1:
Since QEMU 5.2 (commit-77b285f7f6), QEMU supports 'memory failure'
event, posts event to monitor if hitting a hardware memory error.

zhenwei pi (4):
  API: introduce memory failure
  qemu: process: implement domainMemoryFailure
  qemu: monitor: handle memory failure event
  virsh: implement memory failure event

 examples/c/misc/event-test.c        | 16 ++++++++
 include/libvirt/libvirt-domain.h    | 82 +++++++++++++++++++++++++++++++++++++
 src/conf/domain_event.c             | 80 ++++++++++++++++++++++++++++++++++++
 src/conf/domain_event.h             | 12 ++++++
 src/libvirt_private.syms            |  2 +
 src/qemu/qemu_monitor.c             | 21 +++++++++-
 src/qemu/qemu_monitor.h             | 39 ++++++++++++++++++
 src/qemu/qemu_monitor_json.c        | 49 ++++++++++++++++++++++
 src/qemu/qemu_process.c             | 59 ++++++++++++++++++++++++++
 src/remote/remote_daemon_dispatch.c | 32 +++++++++++++++
 src/remote/remote_driver.c          | 32 +++++++++++++++
 src/remote/remote_protocol.x        | 16 +++++++-
 src/remote_protocol-structs         |  8 ++++
 tools/virsh-domain.c                | 40 ++++++++++++++++++
 14 files changed, 486 insertions(+), 2 deletions(-)

-- 
2.11.0