]> Git Repo - linux.git/commit
svm: Manage vcpu load/unload when enable AVIC
authorSuravee Suthikulpanit <[email protected]>
Wed, 4 May 2016 19:09:52 +0000 (14:09 -0500)
committerPaolo Bonzini <[email protected]>
Wed, 18 May 2016 16:04:31 +0000 (18:04 +0200)
commit8221c13700561b36fb1bfda583888cbb43b572f0
tree28e7aabd358ede31f1115fe78ae3e9f75ccdc8e8
parent3bbf3565f48ce3999b5a12cde946f81bd4475312
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 <[email protected]>
Reviewed-by: Radim Krčmář <[email protected]>
[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 <[email protected]>
arch/x86/kvm/svm.c
This page took 0.056136 seconds and 4 git commands to generate.