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

Re: [Xen-devel] What actually destroys a domain?




On Sep 13, 2006, at 5:23 AM, Keir Fraser wrote:




On 12/9/06 14:05, "Jimi Xenidis" <jimix@xxxxxxxxxxxxxx> wrote:


Xenconsoled's mapping of the console page should keep the domain
alive.

hmm, I'm having trouble associating the "mapping" and a refcount of
some sort somewhere, any pointers?

See share_xen_page_with_guest() in arch/x86/mm.c. The refcnt is dropped when
xenheap_pages field reduces to zero in
common/page_alloc.c:free_domheap_pages().

Hmm.. but the console page is a "domain page", no?
After looking at more code I convinced myself that a page not owned by the domain but owned by another is "foreign".

-JX



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


 


Rackspace

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