Thread (29 messages) 29 messages, 4 authors, 2023-11-03

Re: [PATCH V2 vfio 6/9] virtio-pci: Introduce APIs to execute legacy IO admin commands

From: "Michael S. Tsirkin" <mst@redhat.com>
Date: 2023-10-31 09:00:14
Also in: kvm

On Tue, Oct 31, 2023 at 10:30:41AM +0200, Yishai Hadas wrote:
quoted
And further, is caller expected not to invoke several of these
in parallel on the same device? If yes this needs to be
documented. I don't see where does vfio enforce this if yes.
Please have a look at virtiovf_issue_legacy_rw_cmd() from patch #9.

It has a lock on its VF device to serialize access to the bar, it includes
calling this API.

Yishai
OK so if caller must serialize accesses then please document this assumption.

_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help