virt-install ERROR Host does not support any virtualization options

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux