]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Default guest cpu count to host cpu count
authorSasha Levin <levinsasha928@gmail.com>
Wed, 18 May 2011 19:56:24 +0000 (22:56 +0300)
committerPekka Enberg <penberg@kernel.org>
Thu, 19 May 2011 19:11:20 +0000 (22:11 +0300)
commit5ccc7a3dd93b1f814b653cba9dac5a373443c861
tree90d2ee400ee0d02874b4b9fe431a0101cb1ec07c
parent18dd231eec5f0745e3c35de631ada01175c3254d
kvm tools: Default guest cpu count to host cpu count

If user haven't specified cpu count for the guest, use
the amount of online cpus on the host.

Tested-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/kvm-run.c