diff options
author | Eugenio Pérez <eperezma@redhat.com> | 2022-03-14 18:34:45 +0100 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2022-03-15 13:57:44 +0800 |
commit | dafb34c9926a38b3bfc4ab8f35a99ca1c706648c (patch) | |
tree | 8e9470efd57e9f72ecdabcd6d4440acffafb865b /hw/virtio/virtio-serial-pci.c | |
parent | 4725a4181b0fd5b646c51f079d7eac753b14b094 (diff) | |
download | qemu-dafb34c9926a38b3bfc4ab8f35a99ca1c706648c.zip qemu-dafb34c9926a38b3bfc4ab8f35a99ca1c706648c.tar.gz qemu-dafb34c9926a38b3bfc4ab8f35a99ca1c706648c.tar.bz2 |
virtio: Add vhost_svq_get_vring_addr
It reports the shadow virtqueue address from qemu virtual address space.
Since this will be different from the guest's vaddr, but the device can
access it, SVQ takes special care about its alignment & lack of garbage
data. It assumes that IOMMU will work in host_page_size ranges for that.
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'hw/virtio/virtio-serial-pci.c')
0 files changed, 0 insertions, 0 deletions