[Pkg-libvirt-maintainers] Bug#784427: virt-manager: unsupported configuration: spicevmc not supported in this QEMU binary

David Ayers ayers at fsfe.org
Wed May 6 07:35:40 UTC 2015


Package: virt-manager
Version: 1:1.0.1-5
Severity: normal
Tags: upstream

Dear Maintainer,

virt-manager cannot create VMs when connected to some older libvirt-bin versions due to the lack of configuration options to chose vnc over spice.

I'm using virt-manager in jessie to adminstrate an Ubuntu 12.04 libvirt-bin 0.9.8-2ubuntu17.20.  The older libvirt installation does not yet support spice.

I used virt-manager to successfully connect via ssh+qemu and I can successcully start/stop those VMs.  But when attempting to create a new one:
Connection -> New)
Connection: <myserver> (QEMU/KVM)
Chose ho you would like to install the operating system: Local install media (ISO image or CDROM)
Use ISO image: /var/lib/libvirt/images/debian-8.0.0-amd64-netinst.iso
OS type: Linux
Version: Debian Wheezy (od later)
Memory (RAM): 1024
CPUs: 1
Enable storage for this virtual machine: True
Select managed or other existing storage: /dev/<myvgname>/<mylvname>

I get:
Unable to complete install: 'unsupported configuration: spicevmc not supported in this QEMU binary'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 91, in cb_wrapper
      callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/create.py", line 1787, in do_install
      guest.start_install(meter=meter)
  File "/usr/share/virt-manager/virtinst/guest.py", line 403, in start_install
      noboot)
  File "/usr/share/virt-manager/virtinst/guest.py", line 467, in _create_guest
      dom = self.conn.createLinux(start_xml or final_xml, 0)
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 3440, in createLinux
      if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: unsupported configuration: spicevmc not supported in this QEMU binary

I am aware that the libvirt server does not support spice but I was not able to select vnc as the graphics configuration.  I also noticed that I was never asked for the name of the vm-entry, but I guess that would be another bug report.

I suppose that this is an upstream issue, so I have tagged the report as such, but I haven't verified it since I'm a bit at a loss on how I wold successfully install an upstream version of virt-manager with the correct versions of it's dependancies.

I believe the fix would be to add the configuration options the UI to explicitly set the graphics settings.  I'm not sure how to go about the channel settings which locally also refer to spice settings, but do not appear in the setting of the older server.


*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages virt-manager depends on:
ii  dconf-gsettings-backend [gsettings-backend]  0.22.0-1
ii  gconf2                                       3.2.6-3
ii  gir1.2-gtk-3.0                               3.14.5-1
ii  gir1.2-gtk-vnc-2.0                           0.5.3-1.3
ii  gir1.2-libvirt-glib-1.0                      0.1.9-4
ii  gir1.2-vte-2.90                              1:0.36.3-1
ii  librsvg2-common                              2.40.5-1
ii  python-dbus                                  1.2.0-2+b3
ii  python-gi                                    3.14.0-1
ii  python-gi-cairo                              3.14.0-1
ii  python-ipaddr                                2.1.11-2
ii  python-libvirt                               1.2.9-1
ii  python-urlgrabber                            3.9.1-4.1
pn  python2.7:any                                <none>
pn  python:any                                   <none>
ii  virtinst                                     1:1.0.1-5

Versions of packages virt-manager recommends:
ii  gir1.2-spice-client-gtk-3.0  0.25-1+b1
ii  gnome-icon-theme             3.12.0-1
ii  libvirt-daemon-system        1.2.9-9

Versions of packages virt-manager suggests:
ii  gnome-keyring        3.14.0-1+b1
ii  python-gnomekeyring  2.32.0+dfsg-3
pn  python-guestfs       <none>
pn  ssh-askpass          <none>
ii  virt-viewer          1.0-1

-- no debconf information



More information about the Pkg-libvirt-maintainers mailing list