External interrupt intercept in SVM

Discussion created by hzzhang on Nov 10, 2011


I have a question about the external interrupt inercept in SVM.

If I hope whenever an external interrupt happens during the execution of the guest it will cause an VM_EXIT, is it enough to just set the intercept INTR bit (0xC) of VMCB before launching the guest through VMRUN?  Or does the hypervisor have to do some specific configuration for the PIC or APIC?