[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] doubt on releasing domain pages

  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



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.