]> git.baikalelectronics.ru Git - kernel.git/commit
kvm: lapic: Introduce APICv update helper function
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Thu, 14 Nov 2019 20:15:04 +0000 (14:15 -0600)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 5 Feb 2020 14:17:40 +0000 (15:17 +0100)
commite3f4db3fc3a280a378e960ab987cc1ee81d35fd0
tree348750115ef98a4e83a4b37341c0868b6fa94d47
parent9546c6c42127b55217a5d2c45bd54a534df1c7f1
kvm: lapic: Introduce APICv update helper function

Re-factor code into a helper function for setting lapic parameters when
activate/deactivate APICv, and export the function for subsequent usage.

Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h