[libvirt] virt-install ERROR Host does not support any virtualization options
Mihamina RAKOTOMANDIMBY
mihamina at rktmb.org
Tue Jan 2 11:57:18 UTC 2018
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180102/ae2e00f1/attachment-0001.htm>
More information about the libvir-list
mailing list