All of lore.kernel.org
 help / color / mirror / Atom feed
* Is there a way to map pv guest pseudo physical address into dom0?
@ 2011-06-27  8:47 Wei Liu
  2011-06-27  9:01 ` Ian Campbell
  0 siblings, 1 reply; 10+ messages in thread
From: Wei Liu @ 2011-06-27  8:47 UTC (permalink / raw)
  To: xen-devel; +Cc: Anthony Perard, Stefano Stabellini

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.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-06-27 16:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-27  8:47 Is there a way to map pv guest pseudo physical address into dom0? Wei Liu
2011-06-27  9:01 ` Ian Campbell
2011-06-27  9:10   ` Wei Liu
2011-06-27  9:17     ` Ian Campbell
2011-06-27  9:26       ` Wei Liu
2011-06-27  9:33         ` Tim Deegan
2011-06-27 11:23           ` Stefano Stabellini
2011-06-27 13:35             ` Wei Liu
2011-06-27 15:45               ` Stefano Stabellini
2011-06-27 16:50               ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.