From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andres Lagar-Cavilla Subject: [PATCH 02 of 18] x86/mm: Making a page sharable sets PGT_validated, but making a page private doesn't expect it Date: Thu, 08 Dec 2011 02:47:17 -0500 Message-ID: <61da3fc46f0681c0d1be.1323330437@xdev.gridcentric.ca> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: ian.campbell@citrix.com, andres@gridcentric.ca, tim@xen.org, keir.xen@gmail.com, JBeulich@suse.com, ian.jackson@citrix.com, adin@gridcentric.ca List-Id: xen-devel@lists.xenproject.org xen/arch/x86/mm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Signed-off-by: Andres Lagar-Cavilla diff -r aeebbff899ff -r 61da3fc46f06 xen/arch/x86/mm.c --- a/xen/arch/x86/mm.c +++ b/xen/arch/x86/mm.c @@ -4347,7 +4347,7 @@ int page_make_private(struct domain *d, /* We can only change the type if count is one */ if ( (page->u.inuse.type_info & (PGT_type_mask | PGT_count_mask)) - != (PGT_shared_page | 1) ) + != (PGT_shared_page | PGT_validated | 1) ) { put_page(page); spin_unlock(&d->page_alloc_lock);