diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2022-08-16 07:36:40 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-16 07:38:29 +0200 |
commit | 13aa8c6c37bd54eaf16f89e2e07019796fb9e681 (patch) | |
tree | 078ea8fb95236e18622b7cd3033a7ab975f6f9a4 /drivers/virtio/virtio_pci_common.h | |
parent | virtio-mmio: Revert "virtio_mmio: support the arg sizes of find_vqs()" (diff) | |
download | linux-13aa8c6c37bd54eaf16f89e2e07019796fb9e681.tar.xz linux-13aa8c6c37bd54eaf16f89e2e07019796fb9e681.zip |
virtio_pci: Revert "virtio_pci: support the arg sizes of find_vqs()"
This reverts commit cdb44806fca2d0ad29ca644cbf1505433902ee0c: the legacy
path is wrong and in fact can not support the proposed API since for a
legacy device we never communicate the vq size to the hypervisor.
Reported-by: Andres Freund <andres@anarazel.de>
Fixes: cdb44806fca2 ("virtio_pci: support the arg sizes of find_vqs()")
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220816053602.173815-5-mst@redhat.com>
Diffstat (limited to 'drivers/virtio/virtio_pci_common.h')
-rw-r--r-- | drivers/virtio/virtio_pci_common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/virtio/virtio_pci_common.h b/drivers/virtio/virtio_pci_common.h index c0448378b698..a5ff838b85a5 100644 --- a/drivers/virtio/virtio_pci_common.h +++ b/drivers/virtio/virtio_pci_common.h @@ -80,7 +80,6 @@ struct virtio_pci_device { unsigned int idx, void (*callback)(struct virtqueue *vq), const char *name, - u32 size, bool ctx, u16 msix_vec); void (*del_vq)(struct virtio_pci_vq_info *info); |