Re: [PATCH v2] kvm: nVMX: fix entry with pending interrupt if APICv is enabled

2018-10-04 Thread Nikita Leshenko
On Wed, 2018-10-03 at 17:26 +0200, Paolo Bonzini wrote: > Commit b5861e5cf2fcf83031ea3e26b0a69d887adf7d21 introduced a check on > the interrupt-window and NMI-window CPU execution controls in order to > inject an external interrupt vmexit before the first guest instruction > executes. However, whe

[PATCH v2] kvm: nVMX: fix entry with pending interrupt if APICv is enabled

2018-10-03 Thread Paolo Bonzini
Commit b5861e5cf2fcf83031ea3e26b0a69d887adf7d21 introduced a check on the interrupt-window and NMI-window CPU execution controls in order to inject an external interrupt vmexit before the first guest instruction executes. However, when APIC virtualization is enabled the host does not need a vmexit