RE: Virtio Queries

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

 



> 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().

==> Thanks for the reply. Are these the functions which convert the Guest physical addresses to qemu Virtual addresses? If yes, I did not find any routine calling these functions in the Virtio block IO flow. May be I missed it. Can you please point me to the code where Qemu's backend virtio driver is taking the SGE from the virt ring descriptor after it gets a notification from the guest and converting it to a qemu virtual address before calling "read or write" system calls.
--
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