Re: [PATCH V3] virtio: disable notification hardening by default
From: Michael S. Tsirkin
Date: Tue Jun 28 2022 - 02:44:55 EST
On Tue, Jun 28, 2022 at 02:32:19PM +0800, Jason Wang wrote:
> > Question is are there drivers which kick before they are ready
> > to handle callbacks?
>
> Let me try to have a look at all the drivers to answer this.
One thing to note is that I consider hardening probe and
hardening remove separate features. I think that at this point
for secured guests it is prudent to outright block device
removal - we have been finding races in removal for years.
Note sure there's a flag for that but it's probably not too hard to add
e.g. to pci core.
--
MST