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

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


  • To: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
  • From: weiming <zephyr.zhao@xxxxxxxxx>
  • Date: Mon, 7 Jul 2008 18:14:47 -0400
  • Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>, Daniel Stodden <stodden@xxxxxxxxxx>
  • Delivery-date: Mon, 07 Jul 2008 15:15:09 -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=PYCU1QkjXpvzGN31ui4UM9mvvKUTq8RJh/3aovC3LYOjweIRddC3KtvNbTkUFdfIHy hF1dtinVs0ZGLm4eb0nSKMaKQJ+QE31LEqw3GrUwEMeiw6mIke0aPNJv+jmLDL0WTrIv 2GG3ZQb+S2p1hHoQKbEmm6Qc3eh57K+c0J23M=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Do you mean making a hypercall after guest domain finishes processing?  If so, in xen, after event_send(), will xxx() be executed immediately (non-blocking)?

Xen:                                              Guest:

_interrupt_handler()                                     
{
   ...
   ...
   event_send(guest_dom)                event_virq_handler()
post: xxx()                                  {
                                                              do_process()
                                                              hypercall_xxx()?

                                                     }
   ...
}

On Mon, Jul 7, 2008 at 5:57 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
weiming wrote:
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?

It can do a hypercall.

  J

_______________________________________________
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®.