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] how to callback from hypervisor to guest os?

To: "Daniel Stodden" <stodden@xxxxxxxxxx>
Subject: Re: [Xen-devel] how to callback from hypervisor to guest os?
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Mon, 7 Jul 2008 17:46:50 -0400
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 07 Jul 2008 14:47:12 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=ZaQLnOHuQpdcwIBJw6098rdVAmPF5eRLmS510WEY9MI=; b=roMu6WudSlmLxzcROVcH2g+2pzGqCm7xLqFfH4HhOXnRH+Gu6Ic4a62VNqDZ3iB5vq 6eqftK+5I/+AijQE9CvOsmC2LTW+Bp4RxacSRY0lbQBNVP0QwNK47iZB+zYhfkLBa4Qj h0Nak796ikNzDkjOS/6dXozPa7gaxI87koH8U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=egSYCkei4nraV/th4/JDRbuFChb/9LNiypaqqCwqYFqGXW9qpEFA88fgghc7DiseLL 8Tbe9hT85pWaj+wrsGv4WIfjZ9q9mM7Do5D2b2XIbghYuPIzenV1+7+qp1OY1jh5EOBQ IU1Ox/JUqvDTIZCba8JemIlGSQXQ4gPZHDb5I=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1215379562.22922.21.camel@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <add59a3f0807052118o184a1d20q3f750b57ac96c8f7@xxxxxxxxxxxxxx> <1215335738.9407.39.camel@xxxxxxxxxxxxxxxxxxxx> <add59a3f0807060846w2cf4531v9fe036bb805818e1@xxxxxxxxxxxxxx> <1215379562.22922.21.camel@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Daniel,

Event channel is one-way and async, right?
When hypervisor send a notification to guest within a interrupt handler, can the guest receive and response to the notification? If yes, after guest finished processing, can the control be back to xen?

(In the interrupt handler, I need the guest to look up something within its own kernel data structure and return the result to xen. This is the purpose of my question)

Thanks in advance!

Weiming

On Sun, Jul 6, 2008 at 5:26 PM, Daniel Stodden <stodden@xxxxxxxxxx> wrote:
On Sun, 2008-07-06 at 11:46 -0400, weiming wrote:
> Hi Daniel,
>
> Thanks a lot. You confirmed my worries. Event channel may not work for
> me since I need to call the function in a interrupt handler.
> I'll check out trap injection. I don't know what is this, hope it
> would be helpful.

Pardon, sloppy word choice. What I mean would be rather called a 'trap
bounce' or just 'callback' in the Xen source. Event channel activations
work on top of that.

Best,
Daniel

--
Daniel Stodden
LRR     -      Lehrstuhl für Rechnertechnik und Rechnerorganisation
Institut für Informatik der TU München             D-85748 Garching
http://www.lrr.in.tum.de/~stodden         mailto:stodden@xxxxxxxxxx
PGP Fingerprint: F5A4 1575 4C56 E26A 0B33  3D80 457E 82AE B0D8 735B



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