]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Initialize the mmu caches only after verifying cpu support
authorAvi Kivity <avi@qumranet.com>
Sun, 13 Jan 2008 11:23:56 +0000 (13:23 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 16:01:22 +0000 (18:01 +0200)
commit28bbb3c71bc5583ce520aa63aa966c2f42b82f27
tree2c45a5b388f3204012667051b2601cc2c25c4afb
parente65da525d84e6934e1788fbca74a1fe712c3e309
KVM: Initialize the mmu caches only after verifying cpu support

Otherwise we re-initialize the mmu caches, which will fail since the
caches are already registered, which will cause us to deinitialize said caches.

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