diff options
author | Feng Wu <feng.wu@intel.com> | 2015-09-18 16:29:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-01 15:06:53 +0200 |
commit | 28b835d60fcc2498e717cf5e6f0c3691c24546f7 (patch) | |
tree | 9c68fea3ea7c71f850c5c01b58173c66299142b8 /virt/kvm/kvm_main.c | |
parent | KVM: x86: select IRQ_BYPASS_MANAGER (diff) | |
download | linux-28b835d60fcc2498e717cf5e6f0c3691c24546f7.tar.xz linux-28b835d60fcc2498e717cf5e6f0c3691c24546f7.zip |
KVM: Update Posted-Interrupts Descriptor when vCPU is preempted
This patch updates the Posted-Interrupts Descriptor when vCPU
is preempted.
sched out:
- Set 'SN' to suppress furture non-urgent interrupts posted for
the vCPU.
sched in:
- Clear 'SN'
- Change NDST if vCPU is scheduled to a different CPU
- Set 'NV' to POSTED_INTR_VECTOR
Signed-off-by: Feng Wu <feng.wu@intel.com>
[Include asm/cpu.h to fix !CONFIG_SMP compilation. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions