]> err.no Git - linux-2.6/commit
KVM: Unset kvm_arch_ops if arch module loading failed
authorAvi Kivity <avi@qumranet.com>
Thu, 1 Mar 2007 17:21:03 +0000 (19:21 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 18 Mar 2007 08:49:06 +0000 (10:49 +0200)
commitca45aaae1ef98890ac4e3ee48d65aa22401fd1dc
tree932e158722cf96b9090e36e21449f10f6f7c2525
parentb720a3be1abd0cb5b9b530c0a1b4044fec4de60e
KVM: Unset kvm_arch_ops if arch module loading failed

Otherwise, the core module thinks the arch module is loaded, and won't
let you reload it after you've fixed the bug.

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