[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] qdev-monitor: Forbid repeated device_del
From: |
Stefan Hajnoczi |
Subject: |
Re: [PATCH] qdev-monitor: Forbid repeated device_del |
Date: |
Fri, 21 Feb 2020 13:53:05 +0000 |
On Thu, Feb 20, 2020 at 05:55:56PM +0100, Julia Suvorova wrote:
> Device unplug can be done asynchronously. Thus, sending the second
> device_del before the previous unplug is complete may lead to
> unexpected results. On PCIe devices, this cancels the hot-unplug
> process.
>
> Signed-off-by: Julia Suvorova <address@hidden>
> ---
> qdev-monitor.c | 6 ++++++
> 1 file changed, 6 insertions(+)
Reviewed-by: Stefan Hajnoczi <address@hidden>
signature.asc
Description: PGP signature