diff options
| author | Xu He Jie | 2011-10-27 04:15:13 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2011-11-01 22:52:05 +0100 |
| commit | db9eae1c49fe2766a7709d7b2c4cdfcd91b9c25b (patch) | |
| tree | 7dc7a880cf25f5d996fa268ac07df09cd83179f9 /scripts | |
| parent | spapr: fix build (diff) | |
| download | qemu-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
