Allow kvm to use more than 4 VCPUs
commita393f83bd52661432ecbcb303dab38f0cead9ca9
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 21 Feb 2008 21:38:24 +0000 (21 15:38 -0600)
committerAvi Kivity <avi@qumranet.com>
Sun, 24 Feb 2008 10:16:18 +0000 (24 12:16 +0200)
treeef7b57969c8d7f356459b5173216f5657bf8549e
parent27cafe9a61c7188cc15bfb0a1cb5c21872ac5a4e
Allow kvm to use more than 4 VCPUs

This patch actually allows KVM to be used with more than 4 VCPUs.  The change
in qemu-kvm.c was pretty difficult to find because it was using an open coded
array size of 4.  I changed that array to be 256 since that's the real maximum
on x86 and the additional storage space is a pretty trivial cost.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
kvm/libkvm/kvm-common.h
qemu-kvm.c