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]

 



Tue, Jun 25, 2024 at 02:53:57PM CEST, parav@xxxxxxxxxx wrote:
>
>
>> 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.

Ah, I will need to maintain a list of running cmds and use this in in
this case. Okay. Thanks!




[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