[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events
From: |
David Gibson |
Subject: |
Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events |
Date: |
Tue, 23 Mar 2021 12:12:37 +1100 |
On Fri, Mar 12, 2021 at 05:07:36PM -0300, Daniel Henrique Barboza wrote:
> Hi,
>
> This series adds 2 new QAPI events, DEVICE_NOT_DELETED and
> DEVICE_UNPLUG_ERROR. They were (and are still being) discussed in [1].
>
> Patches 1 and 3 are independent of the ppc patches and can be applied
> separately. Patches 2 and 4 are based on David's ppc-for-6.0 branch and
> are dependent on the QAPI patches.
Implementation looks fine, but I think there's a bit more to discuss
before we can apply.
I think it would make sense to re-order this and put UNPLUG_ERROR
first. Its semantics are clearer, and I think there's a stronger case
for it.
I'm a bit less sold on DEVICE_NOT_DELETED, after consideration. Does
it really tell the user/management anything useful beyond what
receiving neither a DEVICE_DELETED nor a DEVICE_UNPLUG_ERROR does?
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
signature.asc
Description: PGP signature
- [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, Daniel Henrique Barboza, 2021/03/12
- [PATCH 1/4] qapi/qdev.json: add DEVICE_NOT_DELETED event, Daniel Henrique Barboza, 2021/03/12
- [PATCH 2/4] spapr_drc.c: send DEVICE_NOT_DELETED event on unplug timeout, Daniel Henrique Barboza, 2021/03/12
- [PATCH 3/4] qapi/machine.json: add DEVICE_UNPLUG_ERROR QAPI event, Daniel Henrique Barboza, 2021/03/12
- [PATCH 4/4] spapr.c: use DEVICE_UNPLUG_ERROR event in spapr_memory_unplug_rollback(), Daniel Henrique Barboza, 2021/03/12
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events,
David Gibson <=
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, Daniel Henrique Barboza, 2021/03/23
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, David Gibson, 2021/03/23
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, Daniel Henrique Barboza, 2021/03/24
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, David Gibson, 2021/03/24
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, Igor Mammedov, 2021/03/29
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, David Gibson, 2021/03/30
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, Igor Mammedov, 2021/03/31
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, David Gibson, 2021/03/31
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, Daniel Henrique Barboza, 2021/03/31
- Re: [PATCH 0/4] DEVICE_NOT_DELETED/DEVICE_UNPLUG_ERROR QAPI events, David Gibson, 2021/03/31