About INTR intercept in  the XEN HVM with SVM

Discussion created by xjtudso on May 23, 2010
Latest reply on Oct 24, 2014 by ozone
How does xen intercept the phyical INTR

Hi, guys.

In XEN VMM, when running a guest with SVM support, the vmm excutes clgi to mask the interrupt and excutes stgi when guest exit.(in the code arch/x86/hvm/Svm/entry.S)

So, when the guest is running, the physical interrupt is masked. How can xen catch the INTR signal when the physical interrupt dispached during the excution of the guest?