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)
commit97db56ce6cc2a0766b536cc227a1da20acc5d82f
tree2c45a5b388f3204012667051b2601cc2c25c4afb
parent75e68e607896c84310dee37c783c45220e56ce8c
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