qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] add MEMORY_FAILURE event
@ 2020-09-14 13:43 zhenwei pi
  2020-09-14 13:43 ` [PATCH 1/3] target-i386: seperate MCIP & MCE_MASK error reason zhenwei pi
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: zhenwei pi @ 2020-09-14 13:43 UTC (permalink / raw)
  To: armbru, pbonzini, mtosatti; +Cc: qemu-devel, pizhenwei

Although QEMU could catch signal BUS to handle hardware memory
corrupted event, sadly, QEMU just prints a little log and try to fix
it silently.

In these patches, introduce a 'MEMORY_FAILURE' event with 4 detailed
actions of QEMU, then uplayer could know what situaction QEMU hit and
did. And further step we can do: if a host server hits a 'hypervisor-ignore'
or 'guest-mce', scheduler could migrate VM to another host; if hitting
'hypervisor-stop' or 'guest-triple-fault', scheduler could select other
healthy servers to launch VM.

zhenwei pi (3):
  target-i386: seperate MCIP & MCE_MASK error reason
  iqapi/run-state.json: introduce memory failure event
  target-i386: post memory failure event to uplayer

 qapi/run-state.json  | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 target/i386/helper.c | 30 +++++++++++++++++++++++-------
 target/i386/kvm.c    |  5 ++++-
 3 files changed, 73 insertions(+), 8 deletions(-)

-- 
2.11.0



^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-09-22  7:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-14 13:43 [PATCH 0/3] add MEMORY_FAILURE event zhenwei pi
2020-09-14 13:43 ` [PATCH 1/3] target-i386: seperate MCIP & MCE_MASK error reason zhenwei pi
2020-09-14 13:43 ` [PATCH 2/3] iqapi/run-state.json: introduce memory failure event zhenwei pi
2020-09-21 12:48   ` Peter Maydell
2020-09-21 13:10     ` [External] " zhenwei pi
2020-09-22  7:11       ` Paolo Bonzini
2020-09-14 13:43 ` [PATCH 3/3] target-i386: post memory failure event to uplayer zhenwei pi
2020-09-21  2:22 ` ping: [PATCH 0/3] add MEMORY_FAILURE event zhenwei pi
2020-09-21 12:09   ` Paolo Bonzini
2020-09-21 13:26     ` [External] " zhenwei pi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).