GNOME Bugzilla – Bug 678874
Check for kvm broken when kvm kernel module is builtin
Last modified: 2016-03-31 14:02:00 UTC
On my current box, kvm is built in the kernel and I do not have modules support. Gnome-boxes won't start if I don't comment out the code checking for the kvm module.
Although our checks will need to be corrected for this, this won't be a hurdle after bug#674209 is fixed.
Updating the description and severity now that bug#674209 is fixed.
If this means that kvm will not get used, this is really sucky and erroring out was a probably better outcome.
(In reply to comment #3) > If this means that kvm will not get used, this is really sucky and erroring out > was a probably better outcome. No, it doesn't! Unless there is a similar issue in libvirt.
This is more about the debug output and '--checks'.
(In reply to comment #5) > This is more about the debug output and '--checks'. Well, that's purely informative message, saying wether a KVM module is loaded. It's not like it is wrong. We should complement it to check if kvm is built in. One quite reliable way would be to open /dev/kvm, and perhaps even check ioctl(.., KVM_GET_API_VERSION). The other way would be to check /sys/devices/virtual/misc/kvm/dev, but perhaps some people would complain that they don't have CONFIG_SYSFS!?
(In reply to comment #0) > On my current box, kvm is built in the kernel and I do not have modules > support. > Gnome-boxes won't start if I don't comment out the code checking for the kvm > module. Although could update/augment the check for /dev/kvm, do you have a stacktrace of what failed? What did you need to comment out? Is this still needed? thanks
(In reply to comment #7) > do you have a stacktrace of what failed? What did you need to comment out? Is > this still needed? Hi Marc-Antoine, I am closing this bug report as no updated information has been provided. Please feel free to reopen this bug if you can provide the information that was asked for in a previous comment.