[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] qdev-monitor: Forbid repeated device_del
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH] qdev-monitor: Forbid repeated device_del |
Date: |
Fri, 21 Feb 2020 14:58:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
On 21/02/20 14:53, Stefan Hajnoczi wrote:
> 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>
>
Queued, thanks.
Paolo