qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] vhost: accept VIRTIO_F_ORDER_PLATFORM as a valid SVQ feature
@ 2023-02-13 19:19 Eugenio Pérez
  2023-02-14  6:31 ` Jason Wang
  0 siblings, 1 reply; 12+ messages in thread
From: Eugenio Pérez @ 2023-02-13 19:19 UTC (permalink / raw)
  To: qemu-devel, mst
  Cc: Jason Wang, Gautam Dawar, Parav Pandit, Zhu Lingshan, Cindy Lu,
	longpeng2, Eli Cohen, alvaro.karsz, Lei Yang, Laurent Vivier

VIRTIO_F_ORDER_PLATFORM indicates that memory accesses by the driver and
the device are ordered in a way described by the platform.  Since vDPA
devices may be backed by a hardware devices, let's allow
VIRTIO_F_ORDER_PLATFORM.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
---
 hw/virtio/vhost-shadow-virtqueue.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/virtio/vhost-shadow-virtqueue.c b/hw/virtio/vhost-shadow-virtqueue.c
index 4307296358..6bb1998f12 100644
--- a/hw/virtio/vhost-shadow-virtqueue.c
+++ b/hw/virtio/vhost-shadow-virtqueue.c
@@ -34,6 +34,7 @@ bool vhost_svq_valid_features(uint64_t features, Error **errp)
         switch (b) {
         case VIRTIO_F_ANY_LAYOUT:
         case VIRTIO_RING_F_EVENT_IDX:
+        case VIRTIO_F_ORDER_PLATFORM:
             continue;
 
         case VIRTIO_F_ACCESS_PLATFORM:
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-03-03  9:17 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13 19:19 [PATCH] vhost: accept VIRTIO_F_ORDER_PLATFORM as a valid SVQ feature Eugenio Pérez
2023-02-14  6:31 ` Jason Wang
2023-02-14  7:02   ` Eugenio Perez Martin
2023-02-14  7:50     ` Michael S. Tsirkin
2023-02-14  8:36       ` Eugenio Perez Martin
2023-03-01 21:37         ` Michael S. Tsirkin
2023-03-02 11:30           ` Eugenio Perez Martin
2023-03-02 11:43             ` Michael S. Tsirkin
2023-03-02 14:47               ` Eugenio Perez Martin
2023-03-02 23:31                 ` Michael S. Tsirkin
2023-03-03  9:08                   ` Eugenio Perez Martin
2023-03-03  9:16                     ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).