On Sun, Apr 27, 2014 at 09:44:17AM -0400, Jorge Fábregas wrote: > On 04/26/2014 08:25 AM, Cole Robinson wrote: > > It's been available for a while, but you need to install python-guestfs to > > make it work, and the user you run virt-manager as needs read access to the > > VM > > disk images. > > Hi Cole, > > The only package close to that is python-libguestfs. I installed it, > restarted libvirt, fired up some VMs (after changing permissions) but > didn't see any icons. Is the image recognition done upon libvirt > startup or upon VM startup?
It is done on virt-manager start up + some time delay (30 seconds IIRC). If it doesn't work for you please do use the --debug flag that Cole suggested and let us know in a bug report if something is going wrong. > I'll have to recheck permissions because > they get overwritten eventually (leaving my regular user without > access)...don't know if that's the problem. > > Just curious: Isn't it more easier to create the icons based on the OS > type (as specified by --os-type) instead of inspecting the actual images As Cole said, it's not allowed for us (or any free software that wants to obey trademark law in the majority of countries in the world) to ship icons. The relevant legal thread is: https://lists.fedoraproject.org/pipermail/legal/2011-April/thread.html#1604 In any case how would you know which icon to display without guest inspection? --os-type isn't recorded by libvirt, and even if it was it doesn't reliably tell you which guest is running. > & having to install all these extra packages? Starting with libguestfs >= 1.26 (in Fedora >= 20 & Debian/ experimental), libguestfs is split into multiple subpackages, so it doesn't pull in large dependencies like XFS, clustered filesystems and virt-rescue tools. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ _______________________________________________ virt mailing list virt@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/virt