]> Git Repo - qemu.git/commit
kvm_init didn't set return value after create vm failed
authorXu He Jie <[email protected]>
Thu, 27 Oct 2011 02:15:13 +0000 (10:15 +0800)
committerAnthony Liguori <[email protected]>
Tue, 1 Nov 2011 21:52:05 +0000 (16:52 -0500)
commitdb9eae1c49fe2766a7709d7b2c4cdfcd91b9c25b
tree7dc7a880cf25f5d996fa268ac07df09cd83179f9
parent3a26360d1df3c3519a45636ec2189429d3df0ecb
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 <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
kvm-all.c
This page took 0.024579 seconds and 4 git commands to generate.