Skip to content
Commit a0052191 authored by Yang Zhang's avatar Yang Zhang Committed by Paolo Bonzini
Browse files

kvm: vmx: check apicv is active before using VT-d posted interrupt



VT-d posted interrupt is relying on the CPU side's posted interrupt.
Need to check whether VCPU's APICv is active before enabing VT-d
posted interrupt.

Fixes: d62caabb
Cc: stable@vger.kernel.org
Signed-off-by: default avatarYang Zhang <yang.zhang.wz@gmail.com>
Signed-off-by: default avatarShengge Ding <shengge.dsg@alibaba-inc.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent caf1ff26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment