mbox series

[0/5] send QAPI_EVENT_MEM_UNPLUG_ERROR for ppc64 unplugs

Message ID 20210226163301.419727-1-danielhb413@gmail.com (mailing list archive)
Headers show
Series send QAPI_EVENT_MEM_UNPLUG_ERROR for ppc64 unplugs | expand

Message

Daniel Henrique Barboza Feb. 26, 2021, 4:32 p.m. UTC
Hi,

This series is a follow-up of the existing change in ppc-for-6.0
branch in David's tree, where the pSeries machine is now detecting
one case in which the memory hotunplug is rejected by the guest kernel.

Initially I would like to also add a QAPI event to report a CPU unplug
error, but we don't have this event available yet. Next time.



Daniel Henrique Barboza (5):
  spapr.c: assert first DRC LMB earlier in spapr_memory_unplug_request()
  spapr.c: check unplug_request flag in spapr_memory_unplug_request()
  spapr.c: add 'unplug already in progress' message for PHB unplug
  spapr_pci.c: add 'unplug already in progress' message for PCI unplug
  spapr.c: send QAPI event when memory hotunplug fails

 hw/ppc/spapr.c         | 37 +++++++++++++++++++++++--------------
 hw/ppc/spapr_drc.c     |  5 ++---
 hw/ppc/spapr_pci.c     |  4 ++++
 include/hw/ppc/spapr.h |  3 +--
 4 files changed, 30 insertions(+), 19 deletions(-)