Re: Virtio Queries

2009-04-13 Thread Avi Kivity
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

Re: Virtio Queries

2009-04-13 Thread Avi Kivity
Kumar, Venkat wrote: 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

Virtio Queries

2009-04-09 Thread Kumar, Venkat
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? 2. If it is Guest physical address, how qemu converts it to