Description of problem: Changing an existing VM configuration to Spice from VNC I get the trace back below. Also happens on another VM if I try and go from VNC to Spice Version-Release number of selected component (if applicable): virt-manager-common-1.0.1-1.fc20.noarch virt-manager-1.0.1-1.fc20.noarch spice-server-devel-0.12.4-3.fc20.x86_64 spice-vdagent-0.15.0-1.fc20.x86_64 spice-server-0.12.4-3.fc20.x86_64 spice-gtk-0.23-2.fc20.x86_64 spice-gtk-tools-0.23-2.fc20.x86_64 spice-glib-0.23-2.fc20.x86_64 spice-gtk3-0.23-2.fc20.x86_64 spice-protocol-0.12.6-2.fc20.noarch How reproducible: 100% Steps to Reproduce: 1. Open an existing VM in virt-manager that's using VNC display 2. Select the 'Display VNC' on the list 3. Flip the 'Type' to Spice 4. Hit Apply Actual results: Error changing VM configuration: internal error: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x319be90>' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/details.py", line 2310, in _change_config_helper self.vm.redefine_cached() File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 213, in redefine_cached self._redefine_xml(xml) File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 238, in _redefine_xml return self._redefine_helper(origxml, newxml) File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 230, in _redefine_helper self._define(newxml) File "/usr/share/virt-manager/virtManager/domain.py", line 1012, in _define self.conn.define_domain(newxml) File "/usr/share/virt-manager/virtManager/connection.py", line 787, in define_domain return self._backend.defineXML(xml) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2935, in defineXML if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self) libvirtError: internal error: unknown graphics device type '<gi.overrides.Gtk.TreeModelRow object at 0x319be90>' Expected results: A VM that uses Spice rather than VNC Additional info: XML of the VM in question: <!-- WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: virsh edit ubuntutrusty or other application using the libvirt API. --> <domain type='kvm'> <name>ubuntutrusty</name> <uuid>6dc12748-15c5-49cf-ad27-d067dd7be0c3</uuid> <memory unit='KiB'>4195328</memory> <currentMemory unit='KiB'>4194304</currentMemory> <vcpu placement='static' current='3'>8</vcpu> <os> <type arch='x86_64' machine='pc-i440fx-1.6'>hvm</type> <boot dev='hd'/> <boot dev='cdrom'/> <bootmenu enable='yes'/> </os> <features> <acpi/> <apic/> <pae/> </features> <cpu mode='custom' match='exact'> <model fallback='allow'>Nehalem</model> <vendor>Intel</vendor> <feature policy='require' name='tm2'/> <feature policy='require' name='est'/> <feature policy='require' name='monitor'/> <feature policy='require' name='smx'/> <feature policy='require' name='ss'/> <feature policy='require' name='vme'/> <feature policy='require' name='dtes64'/> <feature policy='require' name='rdtscp'/> <feature policy='require' name='ht'/> <feature policy='require' name='ds'/> <feature policy='require' name='pbe'/> <feature policy='require' name='tm'/> <feature policy='require' name='pdcm'/> <feature policy='require' name='vmx'/> <feature policy='require' name='ds_cpl'/> <feature policy='require' name='xtpr'/> <feature policy='require' name='acpi'/> </cpu> <clock offset='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-kvm</emulator> <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native'/> <source dev='/dev/main/trusty'/> <target dev='vda' bus='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/discs/more/isos/trusty-desktop-amd64-2014-04-12.iso'/> <target dev='hda' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='0'/> </disk> <disk type='block' device='cdrom'> <driver name='qemu' type='raw'/> <target dev='hdb' bus='ide'/> <readonly/> <address type='drive' controller='0' bus='0' target='0' unit='1'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/> </controller> <controller type='usb' index='0' model='ich9-uhci2'> <master startport='2'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/> </controller> <controller type='usb' index='0' model='ich9-uhci3'> <master startport='4'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'/> <controller type='virtio-serial' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </controller> <controller type='ide' index='0'> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <interface type='network'> <mac address='52:54:00:6f:67:6d'/> <source network='default'/> <model type='virtio'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <serial type='pty'> <target port='0'/> </serial> <console type='pty'> <target type='serial' port='0'/> </console> <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <input type='tablet' bus='usb'/> <input type='mouse' bus='ps2'/> <graphics type='vnc' port='-1' autoport='yes'/> <sound model='ich6'> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </sound> <video> <model type='qxl' ram='65536' vram='65536' heads='1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/> </memballoon> </devices> </domain>
*** This bug has been marked as a duplicate of bug 1083899 ***