KVM: use kvm_lapic_set_base() to change apic_base
authorGleb Natapov <gleb@redhat.com>
Sun, 5 Aug 2012 12:58:27 +0000 (15:58 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 6 Aug 2012 13:20:05 +0000 (16:20 +0300)
commit5dbc8f3fed0b4cb04dfb276150294f21c5f0fc66
treee31e5fd2f39825035985dbd6ee988c870e584245
parent8a5a87d9b7aef24bcdba763d8ee14982477b0a2e
KVM: use kvm_lapic_set_base() to change apic_base

Do not change apic_base directly. Use kvm_lapic_set_base() instead.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/lapic.c