diff options
author | Feng Wu <feng.wu@intel.com> | 2015-09-18 17:29:54 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-01 16:06:53 +0300 |
commit | 28b835d60fcc2498e717cf5e6f0c3691c24546f7 (patch) | |
tree | 9c68fea3ea7c71f850c5c01b58173c66299142b8 /arch/arc | |
parent | 87276880065246ce49ec571130d3d1e4a22e5604 (diff) | |
download | linux-28b835d60fcc2498e717cf5e6f0c3691c24546f7.tar.xz |
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 'arch/arc')
0 files changed, 0 insertions, 0 deletions