[PATCH v2 0/4] support memory failure

zhenwei pi pizhenwei at bytedance.com
Mon Oct 12 12:31:55 UTC 2020


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




More information about the libvir-list mailing list