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

Re: [Xen-devel] Blocking upcall to dom0


On 28 Feb 2005, at 23:04, Andrew Biggadike wrote:

I'm working on a project in which I'd like to implement an upcall into
dom0 from certain points within Xen, where Xen is running in the context
of one of the unprivileged domains.  The upcall will pass a
variable-sized data structure (up to a few hundred bytes) to dom0, and
I need Xen to block on the completion of this upcall.  Also, it's
important that the source of the upcall start from within Xen itself,
rather than the domU guest.

In what context do you want to block? That of some other domain, or block all domains while dom0 executes, or something else?

Xen doesn't support arbitrary blocking within itself since it only maintains per-CPU stacks, not per-domain stacks. So you have to create a closure manually.

 -- Keir



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel