From: Olaf Hering <olaf@aepfle.de>
To: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Cc: xen-devel@lists.xensource.com, ian.campbell@citrix.com,
andres@gridcentric.ca, tim@xen.org, keir.xen@gmail.com,
JBeulich@suse.com, ian.jackson@citrix.com, adin@gridcentric.ca
Subject: Re: [PATCH 8 of 9] x86/mm: Fix checks during foreign mapping of paged pages
Date: Wed, 30 Nov 2011 13:46:50 +0100 [thread overview]
Message-ID: <20111130124650.GA15723@aepfle.de> (raw)
In-Reply-To: <3489152b3a560be744ab.1322598105@xdev.gridcentric.ca>
On Tue, Nov 29, Andres Lagar-Cavilla wrote:
> Check that the valid mfn is the one we are mapping, not the
> mfn of the page table of the foreign domain.
>
> Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Olaf Hering <olaf@aepfle.de>
> diff -r 5286ed662c1e -r 3489152b3a56 xen/arch/x86/mm.c
> --- a/xen/arch/x86/mm.c
> +++ b/xen/arch/x86/mm.c
> @@ -3572,7 +3572,8 @@ int do_mmu_update(
> rc = -ENOENT;
> break;
> }
> - else if ( p2m_ram_paging_in_start == l1e_p2mt && !mfn_valid(mfn) )
> + else if ( p2m_ram_paging_in_start == l1e_p2mt &&
> + !mfn_valid(l1emfn) )
next prev parent reply other threads:[~2011-11-30 12:46 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-29 20:21 [PATCH 0 of 9] MM Bug fixes Andres Lagar-Cavilla
2011-11-29 20:21 ` [PATCH 1 of 9] Tools: When passing no bitmap for the shadow log dirty bitmap clean up, we should not get EFAULT Andres Lagar-Cavilla
2011-11-30 14:39 ` Ian Jackson
2011-11-29 20:21 ` [PATCH 2 of 9] x86/mm: Don't trigger unnecessary shadow scans on p2m entry update Andres Lagar-Cavilla
2011-11-29 20:21 ` [PATCH 3 of 9] x86/mm: Don't lose track of the log dirty bitmap Andres Lagar-Cavilla
2011-11-29 20:21 ` [PATCH 4 of 9] x86: Add conversion from a xen map to an mfn Andres Lagar-Cavilla
2011-11-30 10:06 ` Jan Beulich
2011-11-29 20:21 ` [PATCH 5 of 9] x86/mm: Ensure maps used by nested hvm code cannot be paged out Andres Lagar-Cavilla
2011-11-30 10:10 ` Jan Beulich
2011-12-01 14:27 ` Tim Deegan
2011-12-01 14:29 ` Andres Lagar-Cavilla
2011-12-01 14:36 ` Tim Deegan
2011-11-29 20:21 ` [PATCH 6 of 9] x86/mm: Rework stale p2m auditing Andres Lagar-Cavilla
2011-12-02 8:28 ` Jan Beulich
2011-12-02 10:33 ` [PATCH] " Tim Deegan
2011-12-02 11:12 ` Jan Beulich
2011-11-29 20:21 ` [PATCH 7 of 9] Tools: Add libxc wrapper for p2m audit domctl Andres Lagar-Cavilla
2011-11-30 14:43 ` Ian Jackson
2011-11-29 20:21 ` [PATCH 8 of 9] x86/mm: Fix checks during foreign mapping of paged pages Andres Lagar-Cavilla
2011-11-30 12:46 ` Olaf Hering [this message]
2011-11-30 13:38 ` Olaf Hering
2011-11-30 15:02 ` Andres Lagar-Cavilla
2011-11-30 15:08 ` Olaf Hering
2011-11-29 20:21 ` [PATCH 9 of 9] x86/mm: Allow pages typed as log dirty to also be shared Andres Lagar-Cavilla
2011-12-01 15:09 ` [PATCH 0 of 9] MM Bug fixes Tim Deegan
2011-12-01 15:25 ` Andres Lagar-Cavilla
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=20111130124650.GA15723@aepfle.de \
--to=olaf@aepfle.de \
--cc=JBeulich@suse.com \
--cc=adin@gridcentric.ca \
--cc=andres@gridcentric.ca \
--cc=andres@lagarcavilla.org \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@citrix.com \
--cc=keir.xen@gmail.com \
--cc=tim@xen.org \
--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.