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

[Xen-devel] when xen will do callback?

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] when xen will do callback?
From: Xin Zhao <zhaoxin@xxxxxxxxxxxxxx>
Date: Tue, 7 Dec 2004 18:07:55 -0500 (EST)
Delivery-date: Tue, 07 Dec 2004 23:09:29 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
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
I did see that in setup.c, there that hypercall to setup callbacks like
hypervisor_callback, but when xen will issue the callback?  Everytime a
domain issues a hypervisor call, xen will issue the callback function?

Also, I noticed that hypervisor_callback() will in turn call
evtchn_do_upcall, which seems to convert the pending flags to the
correspond virq and does doIRQ() to emulating irq injection. Is that
right?

Thanks for your help.

Xin


-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] when xen will do callback?, Xin Zhao <=