From: Wei Liu <liuw@liuw.name>
To: xen-devel@lists.xensource.com
Cc: Anthony Perard <anthony.perard@citrix.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Is there a way to map pv guest pseudo physical address into dom0?
Date: Mon, 27 Jun 2011 16:47:29 +0800 [thread overview]
Message-ID: <BANLkTimW6NZRSR39WpSFrKfxCtDMCheMoA@mail.gmail.com> (raw)
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.
next reply other threads:[~2011-06-27 8:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-27 8:47 Wei Liu [this message]
2011-06-27 9:01 ` Is there a way to map pv guest pseudo physical address into dom0? 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTimW6NZRSR39WpSFrKfxCtDMCheMoA@mail.gmail.com \
--to=liuw@liuw.name \
--cc=anthony.perard@citrix.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.