Bug 1388091
Summary: | auto-addition of usb hub breaks gnome-boxes (& possibly other users of libvirt-gconfig) | ||
---|---|---|---|
Product: | [Community] Virtualization Tools | Reporter: | Zeeshan Ali <zeeshanak> |
Component: | libvirt-glib | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | CC: | cfergeau, crobinso, libvirt-maint, rbalakri, stefan.home |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-17 07:58:11 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Zeeshan Ali
2016-10-24 12:39:57 UTC
The problem lies here: https://git.gnome.org/browse/gnome-boxes/tree/src/vm-configurator.vala#n255 since gvir_config_domain_get_devices() only returns the devices libvirt-gconfig knows about: http://libvirt.org/git/?p=libvirt-glib.git;a=blob;f=libvirt-gconfig/libvirt-gconfig-domain.c;h=de84fd42176bd6536adaeff921ba4f963d31fa56;hb=086acea8d07dfc508fc6ff8c8b9d803ed3c55b76#l750 http://libvirt.org/git/?p=libvirt-glib.git;a=blob;f=libvirt-gconfig/libvirt-gconfig-domain-device.c;h=8a75ceac1ed6ee563a5409a6e9261dae9793cad2;hb=086acea8d07dfc508fc6ff8c8b9d803ed3c55b76#l99 IMO this is more a bug in libvirt-gconfig. Even if we add all known devices to it, if another is introduced in a new version, we can easily end up with this situation again. I have posted a few patches that should fix the issue: https://www.redhat.com/archives/libvir-list/2016-November/msg00031.html . Awaiting review now.. (In reply to Zeeshan Ali from comment #2) > I have posted a few patches that should fix the issue: > https://www.redhat.com/archives/libvir-list/2016-November/msg00031.html . > Awaiting review now.. They've now been merged and there will be a release today. Closing this as this is a bug against the upstream package and this is fixed in git/fixed in the libvirt-glib 1.0 release. |