forked from Minki/linux
Merge branch 'kvm-updates/2.6.30' of git://git.kernel.org/pub/scm/virt/kvm/kvm
* 'kvm-updates/2.6.30' of git://git.kernel.org/pub/scm/virt/kvm/kvm: KVM: Explicity initialize cpus_hardware_enabled
This commit is contained in:
commit
c7e9cb4c0c
@ -2305,6 +2305,7 @@ int kvm_init(void *opaque, unsigned int vcpu_size,
|
||||
r = -ENOMEM;
|
||||
goto out_free_0;
|
||||
}
|
||||
cpumask_clear(cpus_hardware_enabled);
|
||||
|
||||
r = kvm_arch_hardware_setup();
|
||||
if (r < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user