diff options
author | Wincy Van <fanwenyi0529@gmail.com> | 2015-02-03 23:56:30 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-02-03 17:06:51 +0100 |
commit | b9c237bb1db61f107b5d7cee5008e4a6b96ff800 (patch) | |
tree | 406fc00264bc06cfc32c34dd5b093c6bd0411f82 /lib/flex_array.c | |
parent | f2b93280edee5c7e95eecba48707a4e4a19b17c8 (diff) |
KVM: nVMX: Make nested control MSRs per-cpu
To enable nested apicv support, we need per-cpu vmx
control MSRs:
1. If in-kernel irqchip is enabled, we can enable nested
posted interrupt, we should set posted intr bit in
the nested_vmx_pinbased_ctls_high.
2. If in-kernel irqchip is disabled, we can not enable
nested posted interrupt, the posted intr bit
in the nested_vmx_pinbased_ctls_high will be cleared.
Since there would be different settings about in-kernel
irqchip between VMs, different nested control MSRs
are needed.
Signed-off-by: Wincy Van <fanwenyi0529@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions