]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
vl: correct error message when fail to init kvm
authorliguang <lig.fnst@cn.fujitsu.com>
Thu, 24 Jan 2013 05:03:26 +0000 (13:03 +0800)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 1 Feb 2013 21:07:44 +0000 (15:07 -0600)
commit217e21be6e0f2c1caa0b644f56aa60dba7ea7893
tree4a416b08b5ff8e502f3ca637e5541d2cef7639fa
parente3c66d939480e0f372316c22184c07fb3de12873
vl: correct error message when fail to init kvm

command:
qemu-system-x86_64 -hda disk.img -smp 32 --enable-kvm
error:
Number of SMP cpus requested (32) exceeds max cpus supported by KVM (16)
failed to initialize KVM: Invalid argument
No accelerator found!

well, it did find kvm, but failed to init,
so message "No accelerator found!" is confusing,
this commit remove the confusing error message.

Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
vl.c