[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC] adding a generic QAPI event for failed device hotunplug
From: |
Daniel Henrique Barboza |
Subject: |
[RFC] adding a generic QAPI event for failed device hotunplug |
Date: |
Fri, 5 Mar 2021 15:16:10 -0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 |
Hi,
Recent changes in pseries code (not yet pushed, available at David's
ppc-for-6.0) are using the QAPI event MEM_UNPLUG_ERROR to report memory
hotunplug errors in the pseries machine.
The pseries machine is also using a timeout to cancel CPU hotunplugs that
takes too long to finish (in which we're assuming a guest side error) and
it would be desirable to also send a QAPI event for this case as well.
At this moment, there is no "CPU_UNPLUG_ERROR" in QAPI (guess ACPI doesn't
need it). Before sending patches to implement this new event I had a talk
with David Gibson and he suggested that, instead of adding a new
CPU_UNPLUG_ERROR
event, we could add a generic event (e.g. DEVICE_UNPLUG_ERROR) that can be
used by the pseries machine in both error scenarios (MEM and CPU).
This could also be used by x86 as well, although I believe the use of
MEM_UNPLUG_ERROR would need to be kept for awhile to avoid breaking ABI.
Any suggestions/comments?
Thanks,
DHB
- [RFC] adding a generic QAPI event for failed device hotunplug,
Daniel Henrique Barboza <=
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, Markus Armbruster, 2021/03/06
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, Daniel Henrique Barboza, 2021/03/08
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, Markus Armbruster, 2021/03/08
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, Daniel Henrique Barboza, 2021/03/08
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, David Gibson, 2021/03/08
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, Markus Armbruster, 2021/03/09
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, Daniel Henrique Barboza, 2021/03/11
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, David Gibson, 2021/03/11
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, Markus Armbruster, 2021/03/12
- Re: [RFC] adding a generic QAPI event for failed device hotunplug, Markus Armbruster, 2021/03/19