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)
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>

No differences found