RE: [PATCH virtio 7/8] virtio_pci_modern: use completion instead of busy loop to wait on admin cmd result

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> From: Jiri Pirko <jiri@xxxxxxxxxxx>
> Sent: Tuesday, June 25, 2024 4:37 PM
[..]

> >So if you are changing that to a completion, I think surprise removal
> >needs to trigger a callback so the completion can be signalled.
> 
> What exacly do you mean by "surprise removal"?

PCI devices can be removed from the PCI bus while the driver is running and with outstanding admin commands.
Pci bus's remove() is called and this needs to notify and complete the outstanding commands with the error ENODEV or similar.





[Index of Archives]     [KVM Development]     [Libvirt Development]     [Libvirt Users]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux