Hello,

I face this problem and I am willing to provide a patch in order to have a more informative message.
This, of course with our help. I am not quite certain.

First of all: What is the problem?

On a fresh Install (ArchLinux for me), if ever forget to install Qemu and launch "virt-install" with "--type kvm", I get the message:

"Host does not support any virtualization options"


According to me, this message should be improved: if Qemu is not found, this should be "Did not find Qemu, please install it".

As I searched, the message is generated by this piece of code:

https://github.com/virt-manager/virt-manager/blob/c92aade081687b19f5a60cddfe331b2fb6d09f98/virtinst/capabilities.py#L390

As I write now, I cant find the pice of code actually calling the "quemu" binary. I think I should add a try/catch block there and Raise the right Exception.
Would someone help me a bit?

Thank you.
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to