Skip to contentSkip to conversation

About EVTCHNOP_bind_pirq requests

DISCUSSION ZelluX 2 participants 2 messages Jan 6, 2010

lore
Share & tools
lore

ZelluX

author
#0 lore raw

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.

Signature · 3 lines
Best regards,
Wang Yuanxuan
Parallel Processing Institute, Fudan University

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#1 lore raw

I guess after EVTCHNOP_bind_pirq, when corresponding pirq happens, XEN will notify guest through evtchn.

Thanks
Pengcheng

2010/1/6 ZelluX <[email protected]>

Quoted 17 lines

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

Quoted 6 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel