diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2016-05-04 21:09:52 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-18 18:04:31 +0200 |
commit | 8221c13700561b36fb1bfda583888cbb43b572f0 (patch) | |
tree | 28e7aabd358ede31f1115fe78ae3e9f75ccdc8e8 /arch/x86/kvm/vmx.c | |
parent | svm: Do not intercept CR8 when enable AVIC (diff) | |
download | linux-8221c13700561b36fb1bfda583888cbb43b572f0.tar.xz linux-8221c13700561b36fb1bfda583888cbb43b572f0.zip |
svm: Manage vcpu load/unload when enable AVIC
When a vcpu is loaded/unloaded to a physical core, we need to update
host physical APIC ID information in the Physical APIC-ID table
accordingly.
Also, when vCPU is blocking/un-blocking (due to halt instruction),
we need to make sure that the is-running bit in set accordingly in the
physical APIC-ID table.
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Reviewed-by: Radim Krčmář <rkrcmar@redhat.com>
[Return void from new functions, add WARN_ON when they returned negative
errno; split load and put into separate function as they have almost
nothing in common. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
0 files changed, 0 insertions, 0 deletions