RE: [PATCH v4] virtio-pci: correctly set virtio pci queue mem multiplier

2024-03-08 Thread Srujana Challa
Ping. > -Original Message- > From: Srujana Challa > Sent: Thursday, February 29, 2024 12:13 PM > To: qemu-devel@nongnu.org > Cc: m...@redhat.com; jasow...@redhat.com; Vamsi Krishna Attunuru > ; Jerin Jacob ; Srujana Challa > > Subject: [PATCH v4] virtio-pci:

[PATCH v4] virtio-pci: correctly set virtio pci queue mem multiplier

2024-02-28 Thread Srujana Challa
Currently, virtio_pci_queue_mem_mult function always returns 4K when VIRTIO_PCI_FLAG_PAGE_PER_VQ is set. But this won't work for vhost vdpa when host has page size other than 4K. This patch introduces a new property(page-per-vdpa-vq) for vdpa use case to fix the same. Signed-off-by: Srujana Challa