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

Re: [Xen-devel] how to callback from hypervisor to guest os?


  • To: "Daniel Stodden" <stodden@xxxxxxxxxx>
  • 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
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

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