]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: Protect update_cr8_intercept() when running without an apic
authorAvi Kivity <avi@redhat.com>
Fri, 18 Sep 2009 20:29:28 +0000 (17:29 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:32:27 +0000 (09:32 -0700)
commitc3443b436a0767cbc0d4ab405f8fa13fb34bd56c
tree4ead411aaaa8bc971ffe4ff9751a17e5645f1b03
parentc05d2ba2c54deb24cd2c8cb8345bd4d7624cbdba
KVM: Protect update_cr8_intercept() when running without an apic

(cherry picked from commit 88c808fd42b53a7e01a2ac3253ef31fef74cb5af)

update_cr8_intercept() can be triggered from userspace while there
is no apic present.

Signed-off-by: Avi Kivity <avi@redhat.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kvm/x86.c