summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorXu He Jie2011-10-27 04:15:13 +0200
committerAnthony Liguori2011-11-01 22:52:05 +0100
commitdb9eae1c49fe2766a7709d7b2c4cdfcd91b9c25b (patch)
tree7dc7a880cf25f5d996fa268ac07df09cd83179f9 /scripts
parentspapr: fix build (diff)
downloadqemu-db9eae1c49fe2766a7709d7b2c4cdfcd91b9c25b.tar.gz
qemu-db9eae1c49fe2766a7709d7b2c4cdfcd91b9c25b.tar.xz
qemu-db9eae1c49fe2766a7709d7b2c4cdfcd91b9c25b.zip
kvm_init didn't set return value after create vm failed
And kvm_ioctl(s, KVM_CREATE_VM, 0)'s return value can be < -1, so change the check of vmfd at label 'err'. Signed-off-by: Xu He Jie <xuhj@linux.vnet.ibm.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions