virt/kvm/kvm_main.c | 1 +
1 files changed, 1 insertion(+)
New commits:
commit bb7d23a31930c9afcca747b6a09d0bedbaf58ae9
Author: Avi Kivity <[email protected]>
Date: Sat Jun 6 12:34:39 2009 +0300
KVM: Explicity initialize cpus_hardware_enabled
Under CONFIG_MAXSMP, cpus_hardware_enabled is allocated from the heap and
not statically initialized. This causes a crash on reboot when kvm thinks
vmx is enabled on random nonexistent cpus and accesses nonexistent percpu
lists.
Fix by explicitly clearing the variable.
Cc: [email protected]
Reported-and-tested-by: Yinghai Lu <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
http://suva.vyatta.com/git/?p=linux-vyatta.git;a=commitdiff;h=bb7d23a31930c9afcca747b6a09d0bedbaf58ae9
_______________________________________________
svn mailing list
[email protected]
http://mailman.vyatta.com/mailman/listinfo/svn