From: =?GB2312?B?wfXF9LPM?= Subject: Re: About EVTCHNOP_bind_pirq requests Date: Wed, 6 Jan 2010 11:05:58 +0800 Message-ID: <3f48acb81001051905j6ae091c6le7bd0777c39a0da8@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0776475483==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: ZelluX Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0776475483== Content-Type: multipart/alternative; boundary=001485f7cd0eda7486047c763bfc --001485f7cd0eda7486047c763bfc Content-Type: text/plain; charset=ISO-8859-1 I guess after EVTCHNOP_bind_pirq, when corresponding pirq happens, XEN will notify guest through evtchn. Thanks Pengcheng 2010/1/6 ZelluX > 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@lists.xensource.com > http://lists.xensource.com/xen-devel > > --001485f7cd0eda7486047c763bfc Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I guess after EVTCHNOP_bind_pirq, when corresponding pirq happens,
XEN will notify guest through evtchn.
=A0
Thanks
Pengcheng

2010/1/6 ZelluX <zellux@gmail.com>
Hi, all=20

I'm reading http://wiki.xensource.com/xenwiki/XenIntro=A0and it = says=A0the IRQ_GUEST flag is set for all interrupts except for timer and se= rial interrupts. After reading some Xen source code I also find that IRQ_GU= EST 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 re= quests are valid? (For example, what will happen if the guest OS tries to b= ind the timer interrupt pirq?)

Many thanks.

--
Best regards,
Wang Yuanxua= n
Parallel Processing Institute, Fudan University

_________= ______________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com=
http://l= ists.xensource.com/xen-devel


--001485f7cd0eda7486047c763bfc-- --===============0776475483== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0776475483==--