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] Replay Interrupts

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Replay Interrupts
From: Jingwei Tan <efundaism@xxxxxxxxx>
Date: Wed, 13 May 2009 11:01:03 +0800
Delivery-date: Tue, 12 May 2009 20:03:19 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=TMPegYDyxYMf2ucHE+/8+T5HiOL0FFLja4oyie+zdkw=; b=on+dIv7Vzav/ARpBA1cWw0IaTG7wefPKf4xtRLAgDKagd6etFR9mExc7qGK1rxh/k5 y3Z7gDzmJ3XMCdniDQLpMZQwMP7hCsr08SJorJJUQ4MPNkBfPOO/8KH+4WI03375RNu+ ewUGEbY4xnlhdhtDFtWj5E+m0q5n7vXJZrrqU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KHV7Awg1zpJDJZkukXPYalC/EYY8YklJ77/s++x0XYjHQa3TvJQW9wdqVIP6YNkpGj WtITs8OuAZNSX1L+qeMeZU1lUYpJZTVb8UoyVsNR+csI+n8xwvlfuoW9I+EfGbcfiWi6 s618kcwb1wK9C7AZKSDgPbIqKx6keC7w8LIkc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hey guys,

What do I want to achieve...
I have 3 identical DomU. Typically only the active DomU will receive interrupts from my device (keyboard and mouse). Because all DomU are identical, I might not want to repeat my keyboard and mouse action 3 times. Thus, I want to modify my Xen such that all my DomU will receive the same interrupt when I just do it on one of them.
There isn't seems to be any tools that can do that, thus, I know I will have to change the source and build my own version of Xen.

What I understand from the source code of Xen regarding Interrupt is... ...
When there's an interrupt, do_IRQ_guest() (from /arch/x86/irq.c) will be called... And the interrupt will be sent by calling sent_guest_pirq() (from /common/event_channel.c) that will creates an event channel and sets the pending flag of this event channel by calling evtchn_set_pending() (from /common/event_channel.c). Finally, Xen will notify the domain regarding the interrupt.

My question is...
1. How Xen determine which domainU is the one who should be receiving the interrupt?
2. Is it possible to make all my domainU to be the receipent of the interrupt?

Am I on the right track?
I need not definite answer. Tips and hints are welcome too!

I've not made any progress regarding this for weeks.
Help needed urgently and is definitely appreciated!

--
Regards,
Tan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Replay Interrupts, Jingwei Tan <=