WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] p2m-ept: remove map_domain_page check

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] p2m-ept: remove map_domain_page check
From: Olaf Hering <olaf@xxxxxxxxx>
Date: Tue, 06 Sep 2011 11:07:51 +0200
Delivery-date: Tue, 06 Sep 2011 02:08:47 -0700
Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1315300074; l=720; s=domk; d=aepfle.de; h=To:From:Date:Subject:Content-Transfer-Encoding:MIME-Version: Content-Type:X-RZG-CLASS-ID:X-RZG-AUTH; bh=JoqA6TVYoS7qBMiaXC515/CQ3vs=; b=kchTe9XLNlxRE0XY/IImTSOhQB3Ely9urafcKutcypTgja0tfOtmNjWudmAUr2Qv93i cCZmH9R5wvvvGr6EsHwW9wYN45BJUDZzwsMxgwJrEMEmstWAqJeIrgFcbL/JKykiwNFUM c8UvtmdQEQeGpZ7Kh9DoJqPLK2pEVS/69Lo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.7.5
# HG changeset patch
# User Olaf Hering <olaf@xxxxxxxxx>
# Date 1315299489 -7200
# Node ID bde6301b03c818d93a19cf4ffd668c6c825e5181
# Parent  0268e73809532a4a3ca18a075efcee3c62caf458
p2m-ept: remove map_domain_page check

map_domain_page() can not fail, remove ASSERT in ept_set_entry().

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>

diff -r 0268e7380953 -r bde6301b03c8 xen/arch/x86/mm/p2m-ept.c
--- a/xen/arch/x86/mm/p2m-ept.c
+++ b/xen/arch/x86/mm/p2m-ept.c
@@ -332,8 +332,6 @@ ept_set_entry(struct p2m_domain *p2m, un
 
     table = map_domain_page(ept_get_asr(d));
 
-    ASSERT(table != NULL);
-
     for ( i = ept_get_wl(d); i > target; i-- )
     {
         ret = ept_next_level(p2m, 0, &table, &gfn_remainder, i);

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] p2m-ept: remove map_domain_page check, Olaf Hering <=