My question is regarding interrupts and how are they handed when the guest is executing in KVM?
Lets say when kvm calls vmentry or vmresume, the guest code starts executing. Now when an external interrupt say timer interrupt occurs, the guest will cause a vmexit. After Vmexit will the next instruction in kvm execute or will the host interrupt caller gets called. If the next instruction in kvm gets called then kvm can do whatever it wants to and then call the appropriate host interrupt handler.
Thanks,