diff options
| author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2021-09-06 21:47:54 -0300 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2021-09-30 12:26:06 +1000 |
| commit | 4b08cd567b54e26a0608463311418197dda83e37 (patch) | |
| tree | 1275b576ef585124250d281de06d21c32d8fa71b /scripts/qapi/parser.py | |
| parent | d43f1670c7908ee4bd5911ee562053b782c63f6e (diff) | |
| download | focaccia-qemu-4b08cd567b54e26a0608463311418197dda83e37.tar.gz focaccia-qemu-4b08cd567b54e26a0608463311418197dda83e37.zip | |
spapr: use DEVICE_UNPLUG_GUEST_ERROR to report unplug errors
Linux Kernel 5.12 is now unisolating CPU DRCs in the device_removal error path, signalling that the hotunplug process wasn't successful. This allow us to send a DEVICE_UNPLUG_GUEST_ERROR in drc_unisolate_logical() to signal this error to the management layer. We also have another error path in spapr_memory_unplug_rollback() for configured LMB DRCs. Kernels older than 5.13 will not unisolate the LMBs in the hotunplug error path, but it will reconfigure them. Let's send the DEVICE_UNPLUG_GUEST_ERROR event in that code path as well to cover the case of older kernels. Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20210907004755.424931-7-danielhb413@gmail.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions