]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Protect update_cr8_intercept() when running without an apic
authorAvi Kivity <avi@redhat.com>
Mon, 17 Aug 2009 19:49:40 +0000 (22:49 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 07:46:54 +0000 (10:46 +0300)
commitc7cd481a572d0987e56c6ae0a69b98e364fc27b8
tree570998f7bc61caa35c493bca3b1ca50a3f74af0c
parent1aad9cff922f6a081993c85fbd52cf874055c0b2
KVM: Protect update_cr8_intercept() when running without an apic

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

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