From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
To: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
David Vrabel <david.vrabel@citrix.com>
Subject: Re: [PATCH 1/5] xen/netback: Use xenballooned pages for comms
Date: Mon, 24 Oct 2011 17:47:40 -0400 [thread overview]
Message-ID: <4EA5DCFC.1020400@tycho.nsa.gov> (raw)
In-Reply-To: <20111024214044.GJ2441@phenom.dumpdata.com>
On 10/24/2011 05:40 PM, Konrad Rzeszutek Wilk wrote:
>> (Will move to commit message). In PV guests, it is sufficient to only
>> reserve kernel address space for grant mappings because Xen modifies the
>> mappings directly. HVM guests require that Xen modify the GFN-to-MFN
>> mapping, so the pages being remapped must already be allocated. Pages
>
> By allocated you mean the populate_physmap hypercall must happen before
> the grant operations are done?
>
> (When I see allocated I think alloc_page, which I believe is _not_ what
> you were saying).
The pages must be valid kernel pages (with GFNs) which are actually obtained
with alloc_page if the balloon doesn't have any sitting around for us. They
must also *not* be populated in the physmap, which is why we grab them from
the balloon and not from alloc_page directly.
>
>> obtained from alloc_xenballooned_pages have valid GFNs not currently
>> mapped to an MFN, so are available to be used in grant mappings.
>>
>
next prev parent reply other threads:[~2011-10-24 21:47 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 20:26 [PATCH 0/5] xen/{net, blk}back support for running in HVM Daniel De Graaf
2011-10-18 20:26 ` [PATCH 1/5] xen/netback: Use xenballooned pages for comms Daniel De Graaf
2011-10-19 9:04 ` Ian Campbell
2011-10-19 10:39 ` David Vrabel
2011-10-19 15:12 ` Ian Campbell
2011-10-19 15:01 ` Daniel De Graaf
2011-10-19 16:32 ` David Vrabel
2011-10-19 16:56 ` Daniel De Graaf
2011-10-24 21:40 ` Konrad Rzeszutek Wilk
2011-10-24 21:47 ` Daniel De Graaf [this message]
2011-10-24 22:08 ` Konrad Rzeszutek Wilk
2011-10-24 22:24 ` Daniel De Graaf
2011-10-18 20:26 ` [PATCH 2/5] xen/netback: Enable netback on HVM guests Daniel De Graaf
2011-10-18 20:26 ` [PATCH 3/5] xen/blkback: Use xenballooned pages for mapped areas Daniel De Graaf
2011-10-18 20:26 ` [PATCH 4/5] xen/blkback: don't add m2p overrides when using autotranslated physmap Daniel De Graaf
2011-10-19 9:10 ` Ian Campbell
2011-10-18 20:26 ` [PATCH 5/5] xen/blkback: Enable blkback on HVM guests Daniel De Graaf
2011-10-20 15:35 ` [PATCH v2 0/6] xen/{net, blk}back support for running in HVM Daniel De Graaf
2011-10-20 15:35 ` [PATCH 1/6] xenbus: Support HVM backends Daniel De Graaf
2011-10-20 16:48 ` [PATCH 1/6 v2] " Daniel De Graaf
2011-10-24 21:55 ` Konrad Rzeszutek Wilk
2011-10-20 15:35 ` [PATCH 2/6] xenbus: Use grant-table wrapper functions Daniel De Graaf
2011-10-24 21:57 ` Konrad Rzeszutek Wilk
2011-10-20 15:35 ` [PATCH 3/6] xen/grant-table: Support mappings required by blkback Daniel De Graaf
2011-10-24 22:00 ` Konrad Rzeszutek Wilk
2011-10-20 15:35 ` [PATCH 4/6] xen/blkback: use grant-table.c hypercall wrappers Daniel De Graaf
2011-10-20 15:35 ` [PATCH 5/6] xen/netback: Enable netback on HVM guests Daniel De Graaf
2011-10-24 9:31 ` Ian Campbell
2011-10-24 9:31 ` Ian Campbell
2011-10-24 9:34 ` David Miller
2011-10-24 14:19 ` [Xen-devel] " Konrad Rzeszutek Wilk
2011-10-20 15:35 ` [PATCH 6/6] xen/blkback: Enable blkback " Daniel De Graaf
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=4EA5DCFC.1020400@tycho.nsa.gov \
--to=dgdegra@tycho.nsa.gov \
--cc=Ian.Campbell@citrix.com \
--cc=david.vrabel@citrix.com \
--cc=konrad.wilk@oracle.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.