From: Keir Fraser Subject: Re: Blocking upcall to dom0 Date: Tue, 1 Mar 2005 09:16:12 +0000 Message-ID: References: <20050228230406.GD26847@andrew.cmu.edu> Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <20050228230406.GD26847@andrew.cmu.edu> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Andrew Biggadike Cc: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org 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