Hi, In this version the event was renamed and the optional 'msg' attribute was removed. It also contains smaller changes based on Markus' comments in v6.
changes from v6: - patches 1 and 2: * handle dev->id = NULL explicitly with empty string - patch 3: * added Markus' reviewed-by - patch 4: * reworded 'path' attribute desc as 'the device's QOM path' * added Markus's reviewed-by - patch 5: * event was renamed to 'DEVICE_UNPLUG_GUEST_ERROR' * reworded 'path' attribute desc as 'the device's QOM path' * removed the optional member 'msg' of the event - patches 6 and 7: * changes due to event rename and lack of 'msg' attribute - v6 link: https://lists.gnu.org/archive/html/qemu-devel/2021-07/msg04923.html Daniel Henrique Barboza (7): memory_hotplug.c: handle dev->id = NULL in acpi_memory_hotplug_write() spapr.c: handle dev->id in spapr_memory_unplug_rollback() spapr_drc.c: do not error_report() when drc->dev->id == NULL qapi/qdev.json: fix DEVICE_DELETED parameters doc qapi/qdev.json: add DEVICE_UNPLUG_GUEST_ERROR QAPI event spapr: use DEVICE_UNPLUG_GUEST_ERROR to report unplug errors memory_hotplug.c: send DEVICE_UNPLUG_GUEST_ERROR in acpi_memory_hotplug_write() docs/about/deprecated.rst | 10 ++++++++++ hw/acpi/memory_hotplug.c | 11 ++++++++++- hw/ppc/spapr.c | 12 ++++++++++-- hw/ppc/spapr_drc.c | 16 ++++++++++------ qapi/machine.json | 7 ++++++- qapi/qdev.json | 32 +++++++++++++++++++++++++++++--- stubs/qdev.c | 7 +++++++ 7 files changed, 82 insertions(+), 13 deletions(-) -- 2.31.1