diff options
author | Dunrong Huang | 2012-07-31 13:18:17 +0200 |
---|---|---|
committer | Avi Kivity | 2012-08-09 15:16:36 +0200 |
commit | 3ed444e949cd2f0938759836c0991dfabe86f485 (patch) | |
tree | 033d928759a09ef1ad160426bd317b2ef3812301 /configure | |
parent | Merge remote-tracking branch 'kraxel/usb.58' into staging (diff) | |
download | qemu-3ed444e949cd2f0938759836c0991dfabe86f485.tar.gz qemu-3ed444e949cd2f0938759836c0991dfabe86f485.tar.xz qemu-3ed444e949cd2f0938759836c0991dfabe86f485.zip |
kvm: Check if smp_cpus exceeds max cpus supported by kvm
Add a helper function for fetching max cpus supported by kvm.
Make QEMU exit with an error message if smp_cpus exceeds limit
of VCPU count retrieved by invoking this helper function.
Signed-off-by: Dunrong Huang <riegamaths@gmail.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions