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

[Xen-devel] Is there a way to map pv guest pseudo physical address into dom0?



Hi, all

I'm reading the code of QEMU's virtio infrastructure (hw/virtio.c) and
Linux's virtio driver (virtio_blk.c, virtio_net.c).

Virtio drivers utilize scatter gather infrastructure in the Linux
kernel. It stores the physical addresses in scatter list. In Xen's hvm
case, QEMU can access guest address space with
cpu_physical_memory_map.

However, in Xen's pv case, this "physical address" will be "pseudo
physical address". In order to retrieve theirs content, backend must
map them into its own address space. I'm wondering if there is such
infrastructure to get this job done.

Wei.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.