[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v3 0/3] scsi: restart dma after vm change state ha
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [RFC v3 0/3] scsi: restart dma after vm change state handlers |
Date: |
Thu, 30 May 2019 10:27:55 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
On 30/05/19 00:10, Kevin Wolf wrote:
> I don't think this is as nice because stopping or resuming a device
> could involve some async operation (e.g. be delegated to a BH). In this
> case, a device on a child bus must still wait for the BH (or other async
> part) to be completed before it can resume its own operation.
>
> Basically, a single flat list of global VM state handlers wasn't a good
> design, because what we actually need in such cases is something
> hierarchical.
So add an AioContext state change handler?