diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2016-05-04 22:09:52 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-05-18 19:04:31 +0300 |
commit | 8221c13700561b36fb1bfda583888cbb43b572f0 (patch) | |
tree | 28e7aabd358ede31f1115fe78ae3e9f75ccdc8e8 /drivers/net/ethernet/atheros/atl1e/atl1e.h | |
parent | 3bbf3565f48ce3999b5a12cde946f81bd4475312 (diff) | |
download | linux-8221c13700561b36fb1bfda583888cbb43b572f0.tar.xz |
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 'drivers/net/ethernet/atheros/atl1e/atl1e.h')
0 files changed, 0 insertions, 0 deletions