summaryrefslogtreecommitdiffstats
path: root/virt/kvm/kvm_main.c
diff options
context:
space:
mode:
authorFeng Wu <feng.wu@intel.com>2015-09-18 16:29:54 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-10-01 15:06:53 +0200
commit28b835d60fcc2498e717cf5e6f0c3691c24546f7 (patch)
tree9c68fea3ea7c71f850c5c01b58173c66299142b8 /virt/kvm/kvm_main.c
parentKVM: x86: select IRQ_BYPASS_MANAGER (diff)
downloadlinux-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