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

To: Andrew Biggadike <biggadike@xxxxxxx>
Subject: Re: [Xen-devel] Blocking upcall to dom0
From: Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Date: Tue, 01 Mar 2005 21:21:53 +0000
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 02 Mar 2005 17:15:29 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 01 Mar 2005 15:53:28 EST." <20050301205328.GG26847@xxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> Keir Fraser <Keir.Fraser@xxxxxxxxxxxx> wrote:
> > In what context do you want to block? That of some other domain, or 
> > block all domains while dom0 executes, or something else?
> 
> I want to block in the context of the unprivileged domain that was
> running, and only block that domain.  In the hypercall example I gave,
> I'd want the domain that invoked the hypercall to block within Xen until
> dom0 completed the upcall.

Why not just use an event channel? This is precisely what they 
are for. That way the invoking domain can simply kick an event, 
and block waiting for a response. No new magic required in Xen
at all.

S.


-------------------------------------------------------
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