Re: Virtio Queries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kumar, Venkat wrote:
Hi, I am a few questions on Virtio, Hope somebody clarifies them

1. What is the address type that is put inside the vring descriptor in the virt queue while placing a request? Is it the guest virtual address or guest physical address?

Guest physical address. Guest virtual addresses change meanings from time to time.

2. If it is Guest physical address, how qemu converts it to its virtual address before processing the buffer?

See the logic in cpu_physical_memory_rw() and cpu_physical_memory_map().

3. How does qemu interact with guest once it receives the buffers from the virt queue for doing the IO?

qemu advanced the ring indexes, and notifies the guest by sending an interrupt when the requests are completed.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux