Gionatan Danti
2018-Apr-09 13:21 UTC
[libvirt-users] Disable guest discovery in virt-manager
Hi all, on CentOS7 / RHEL7 launching virt-manager causes a "discovery process" of the various configured VMs. This discovery is executed by inspection and overlayed disk files and it create a very short lived guest-xxxzzzyyy virtual machine. The end result is a pretty icon to the left of the virtual machine entry (ie: CentOS icon for a CentOS VM) and the list of installad packages inside the virtual disk. That said, I would like to disable such behavior. How can I do that? Thanks. -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8
Pavel Hrdina
2018-Apr-09 13:47 UTC
Re: [libvirt-users] Disable guest discovery in virt-manager
On Mon, Apr 09, 2018 at 03:21:04PM +0200, Gionatan Danti wrote:> Hi all, > on CentOS7 / RHEL7 launching virt-manager causes a "discovery process" of > the various configured VMs. > > This discovery is executed by inspection and overlayed disk files and it > create a very short lived guest-xxxzzzyyy virtual machine. The end result is > a pretty icon to the left of the virtual machine entry (ie: CentOS icon for > a CentOS VM) and the list of installad packages inside the virtual disk. > > That said, I would like to disable such behavior. How can I do that? > Thanks.Hi, The option to enable/disable this feature was implemented recently in upstream [1]. In order to get it into CentOS/RHEL you would have to create a BUG for it. As a workaround you can uninstall python-libguestfs package which is used by virt-manager to run the introspection. If that package is missing importing guestfs in the python code fails and the feature is disabled. Pavel [1] <https://github.com/virt-manager/virt-manager/commit/6b1278ccda1bf52fd51c619858dfeaffb12a4029>
Gionatan Danti
2018-Apr-11 17:59 UTC
Re: [libvirt-users] Disable guest discovery in virt-manager
Il 09-04-2018 15:47 Pavel Hrdina ha scritto:> Hi, > > The option to enable/disable this feature was implemented recently > in upstream [1]. In order to get it into CentOS/RHEL you would have > to create a BUG for it. > > As a workaround you can uninstall python-libguestfs package which is > used by virt-manager to run the introspection. If that package is > missing importing guestfs in the python code fails and the feature > is disabled. > > Pavel > > [1] > <https://github.com/virt-manager/virt-manager/commit/6b1278ccda1bf52fd51c619858dfeaffb12a4029>Thanks, I opened a BZ case for it: https://bugzilla.redhat.com/show_bug.cgi?id=1566187 -- Danti Gionatan Supporto Tecnico Assyoma S.r.l. - www.assyoma.it email: g.danti@assyoma.it - info@assyoma.it GPG public key ID: FF5F32A8