All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] implement crashloaded event for pvpanic
@ 2020-01-10 10:06 ` zhenwei pi
  0 siblings, 0 replies; 15+ messages in thread
From: zhenwei pi @ 2020-01-10 10:06 UTC (permalink / raw)
  To: pbonzini
  Cc: qemu-devel, linux-kernel, gregkh, libvir-list, mprivozn, yelu,
	zhenwei pi

Guest may handle panic by itself, then just reboot without pvpanic
notification. Then We can't separate the abnormal reboot from
normal operation.

Declear bit 1 for pvpanic as crashloaded event. It should work with
guest kernel side. Link: https://lkml.org/lkml/2019/12/14/265
Before running kexec, guest could wirte this bit to notify host side.
Host side handles crashloaded event, posts event to upper layer.
Then guest side continues to run kexec.

Test with libvirt, libvirt could recieve the new event. The patch of
libvirt will be sent soon.

Zhenwei Pi (2):
  pvpanic: introduce crashloaded for pvpanic
  pvpanic: implement crashloaded event handling

 docs/specs/pvpanic.txt    |  8 ++++++--
 hw/misc/pvpanic.c         | 11 +++++++++--
 include/sysemu/runstate.h |  1 +
 qapi/run-state.json       | 22 +++++++++++++++++++++-
 vl.c                      | 12 ++++++++++++
 5 files changed, 49 insertions(+), 5 deletions(-)

-- 
2.11.0


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [PATCH 0/2] pvpanic: implement crashloaded event for pvpanic
@ 2020-01-14  2:31 zhenwei pi
  2020-01-14  2:31 ` [PATCH 1/2] pvpanic: introduce crashloaded " zhenwei pi
  0 siblings, 1 reply; 15+ messages in thread
From: zhenwei pi @ 2020-01-14  2:31 UTC (permalink / raw)
  To: pbonzini; +Cc: gregkh, yelu, qemu-devel, zhenwei pi, mprivozn

Guest may handle panic by itself, then just reboot without pvpanic
notification. Then We can't separate the abnormal reboot from
normal operation.

Declear bit 1 for pvpanic as crashloaded event. It should work with
guest kernel side. Link: https://lkml.org/lkml/2019/12/14/265
Before running kexec, guest could wirte this bit to notify host side.
Host side handles crashloaded event, posts event to upper layer.
Then guest side continues to run kexec.

Test with libvirt, libvirt could recieve the new event. The patch of
libvirt will be sent soon.

Zhenwei Pi (2):
  pvpanic: introduce crashloaded for pvpanic
  pvpanic: implement crashloaded event handling

 docs/specs/pvpanic.txt    |  8 ++++++--
 hw/misc/pvpanic.c         | 11 +++++++++--
 include/sysemu/runstate.h |  1 +
 qapi/run-state.json       | 22 +++++++++++++++++++++-
 vl.c                      | 12 ++++++++++++
 5 files changed, 49 insertions(+), 5 deletions(-)

-- 
2.11.0



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

end of thread, other threads:[~2020-01-21 13:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-10 10:06 [PATCH 0/2] implement crashloaded event for pvpanic zhenwei pi
2020-01-10 10:06 ` zhenwei pi
2020-01-10 10:06 ` [PATCH 1/2] pvpanic: introduce crashloaded " zhenwei pi
2020-01-10 10:06   ` zhenwei pi
2020-01-21  8:22   ` Markus Armbruster
2020-01-21  8:22     ` Markus Armbruster
2020-01-21 10:50     ` Paolo Bonzini
2020-01-21 13:38       ` Markus Armbruster
2020-01-21 13:38         ` Markus Armbruster
2020-01-10 10:06 ` [PATCH 2/2] pvpanic: implement crashloaded event handling zhenwei pi
2020-01-10 10:06   ` zhenwei pi
2020-01-21  8:37   ` Markus Armbruster
2020-01-21  8:37     ` Markus Armbruster
2020-01-14  2:31 [PATCH 0/2] pvpanic: implement crashloaded event for pvpanic zhenwei pi
2020-01-14  2:31 ` [PATCH 1/2] pvpanic: introduce crashloaded " zhenwei pi
2020-01-18 20:50   ` Paolo Bonzini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.