]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: Fix adding an smp virtual machine to the vm list
authorAvi Kivity <avi@qumranet.com>
Tue, 5 Jun 2007 11:36:10 +0000 (14:36 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:45 +0000 (12:05 +0300)
commit120e9a453b5e7d9a708caff7d97b71fc4ccd59e8
treeed86703fbc2f50183f07dbc0fd7ce5dc7560a222
parent7b53aa56508479507c6e5667bb252ca7c2cd19cf
KVM: Fix adding an smp virtual machine to the vm list

If we add the vm once per vcpu, we corrupt the list if the guest has
multiple vcpus.

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