If there is no qemu in compass-ci's environment, output something to remind users and then exit.
Signed-off-by: Xu Xijian hdxuxijian@163.com --- providers/qemu/kvm.sh | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/providers/qemu/kvm.sh b/providers/qemu/kvm.sh index b4e87fc..70d3ca6 100755 --- a/providers/qemu/kvm.sh +++ b/providers/qemu/kvm.sh @@ -193,6 +193,10 @@ individual_option() -netdev $netdev ) ;; + *) + echo "qemu not found: $qemu" + exit + ;; esac }