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] About EVTCHNOP_bind_pirq requests

To: ZelluX <zellux@xxxxxxxxx>
Subject: Re: [Xen-devel] About EVTCHNOP_bind_pirq requests
From: 刘鹏程 <pcliu.fd@xxxxxxxxx>
Date: Wed, 6 Jan 2010 11:05:58 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Jan 2010 19:06:27 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=e9uQYy61A+G3QrSL0+WGyiRQLmAm+INghy5J53Yb1/M=; b=clwTkwMZEP08FT9Uj6JIL2E1nWGM3QtIKCezdN9WLuZrCe4Ma3i1LdMlOyjMYNImPL UvKEbtTTDkKgySdZCl0b9VolD6cFcq57TxbXQxbdqfJmiKiZ8xUGnQEXFf4/lIudGyZA pKU9f/JdcQFU/g5hd5OWOikejoVBgxNIBTtUs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=iyutVEwzQ/8UbTHz4mwOX670XYcPAK7mAmp00AukE+3qps5OpbYrLHk2JDJW6w0VeX fiEO8z2J+VSZOZjt6KsOGeXliuhd1zcfNmU0USKXHRRjBnEKzCoKECjywZ2dBsMWpFLX XyOreI0B/6YzstKV7nExrhvgmmjKdWeVeeiKg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e487823f1001051846r12d40ba3k1ddcfad33d502a6e@xxxxxxxxxxxxxx>
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: <e487823f1001051846r12d40ba3k1ddcfad33d502a6e@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I guess after EVTCHNOP_bind_pirq, when corresponding pirq happens,
XEN will notify guest through evtchn.
 
Thanks
Pengcheng

2010/1/6 ZelluX <zellux@xxxxxxxxx>
Hi, all

I'm reading http://wiki.xensource.com/xenwiki/XenIntro and it says the IRQ_GUEST flag is set for all interrupts except for timer and serial interrupts. After reading some Xen source code I also find that IRQ_GUEST is only set by the EVTCHNOP_bind_pirq requests. So I'd like to know if these requests are called by the guest OS, and does Xen check if the requests are valid? (For example, what will happen if the guest OS tries to bind the timer interrupt pirq?)

Many thanks.

--
Best regards,
Wang Yuanxuan
Parallel Processing Institute, Fudan University

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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>