Skip to contentSkip to conversation

vhost_get_vq_desc, vq->iov mapping

Qemu-devel Vasile Catalin-B50542 1 participant 1 message May 6, 2015 virtio core

lore
Share & tools
lore
#0 lore raw

From what I know, qemu and vhost backends use some functions in order to access the memory between the guest and the backend. From what I see, vhost does this with vhost_get_vq_desc().
How much do vq->iov mappings remain valid? Does it get unmapped at some time (you could answer me within vhost-net or vhost-scsi as examples)?