qemu-devel
[Top][All Lists]
Advanced

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

ping: [PATCH 0/3] add MEMORY_FAILURE event


From: zhenwei pi
Subject: ping: [PATCH 0/3] add MEMORY_FAILURE event
Date: Mon, 21 Sep 2020 10:22:37 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

Hi,

A patchset about handling 'MCE' might have been ignored, can anyone tell me whether the purpose is reasonable?

https://patchwork.kernel.org/cover/11773795/

On 9/14/20 9:43 PM, zhenwei pi wrote:
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(-)


--
zhenwei pi



reply via email to

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