]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
kvm: LAPIC: write down valid APIC registers
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jul 2019 12:57:58 +0000 (14:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 5 Jul 2019 13:32:59 +0000 (15:32 +0200)
commit01402cf81051f796dac7c60ca11d6147153ca46a
tree92456571f71a08826f8d6fad9e2a7d8f4afa167d
parent101628ded5d990f7f364bd4d371ada9b2beaae64
kvm: LAPIC: write down valid APIC registers

Replace a magic 64-bit mask with a list of valid registers, computing
the same mask in the end.

Suggested-by: Liran Alon <liran.alon@oracle.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/lapic.c