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/
Home Products Support Community News


[Xen-devel] doubt on releasing domain pages

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] doubt on releasing domain pages
From: Sandesh <sandesh.ahiremath@xxxxxxxxx>
Date: Fri, 22 Aug 2008 02:58:48 +0530
Delivery-date: Thu, 21 Aug 2008 15:07:55 -0700
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
  I am trying to release domU pages from page_list and xenpage_list
after domU shutdown while retaining the rest of the domain information. 
To achieve this in __domain_finalise_shutdown i call
domain_relinquish_resources. This is failing to release pages from
page_list for type PGT_l2_page_tables and crashing dom0.
  To be specific, while testing on mini-os i saw that when
domain_relinquish_resources calls relinquish_memory for
PGT_l2_page_tables, this eventually calls free_l2_table which fails at
map_domain_page() by returning an invalid virtual address, due to which
dom0 crashes immediately.

When the same sequence of functions works perfectly fine during domU
destruction, why not during shutdown. Am I missing anything important? 

Am using xen-3.3-unstable.

Thanks in advance

\m/   \m/

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>