Bug 796909

Summary: virt Manager, Ubuntu 32-bit vm run fails when spice server type is set to "spice"
Product: [Fedora] Fedora Reporter: Mike Harvey <mharvey>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 16CC: berrange, crobinso, dpierce, hbrock, jforbes, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-02 20:47:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Mike Harvey 2012-02-23 20:53:41 UTC
In virt Manager, Ubuntu 32-bit vm run fails when spice server type is set to "spice"

It Works fine when set to "vnc."

Error starting domain: unsupported configuration: spicevmc not supported in this QEMU binary

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 45, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 66, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1114, in startup
    self._backend.create()
  File "/usr/lib/python2.7/site-packages/libvirt.py", line 510, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: unsupported configuration: spicevmc not supported in this QEMU binary




files to attach?

/etc/libvirt/qemu/Ubuntu.xml


Hardware:  RH Company Issue:  Lenova T520 laptop
Env:  Linux localhost.localdomain 3.2.7-1.fc16.i686 #1 SMP Tue Feb 21 01:38:57 UTC 2012 i686 i686 i386 GNU/Linux
VM is Hosted Ubuntu 11.10 created from local iso image:  ubuntu-11.10-desktop-i386


packages installed:
Package spice-client-0.10.1-1.fc16.i686 
Package spice-server-0.10.1-1.fc16.i686 
qemu-system-mips-0.15.1-4.fc16.i686                       
qemu-user-0.15.1-4.fc16.i686                               
qemu-system-m68k-0.15.1-4.fc16.i686                        
qemu-system-arm-0.15.1-4.fc16.i686                        
qemu-system-sh4-0.15.1-4.fc16.i686                        
qemu-system-cris-0.15.1-4.fc16.i686                       
qemu-0.15.1-4.fc16.i686                                   

Installed:
  qemu.i686 2:0.15.1-4.fc16                                                     

Dependency Installed:
  qemu-system-arm.i686 2:0.15.1-4.fc16   qemu-system-cris.i686 2:0.15.1-4.fc16 
  qemu-system-m68k.i686 2:0.15.1-4.fc16  qemu-system-mips.i686 2:0.15.1-4.fc16 
  qemu-system-sh4.i686 2:0.15.1-4.fc16   qemu-user.i686 2:0.15.1-4.fc16  


Other Clues:

<mcpierce> I think the problem's with the 32 bit RPMs. For whatever reason, the 32bit compile was done with the spice cmdline option disabled.
<mcpierce> Yeah, was Cole was telling me that's the problem. You should go ahead and file the bug though saying that the spice commandline option is unavailable.
<mcpierce> One of the options is to enable spice in the VM. And on 32bit the qemu executable doesn't have that option enabled.
<mharvey> ok..just call cmd line
<mcpierce> That's why Cole had us do "qemu --help | grep spice".
<mharvey> i see
<mcpierce> It should show a commandline option "--spice" which the 32bit version doesn't have.

Comment 1 Mike Harvey 2012-02-23 20:57:07 UTC
bz would not allow me to attach Ubuntu.xml

Comment 2 Cole Robinson 2012-02-23 22:06:12 UTC
Mike, if you are having trouble attaching, can you just paste the XML into a comment?

Comment 3 Cole Robinson 2012-04-02 20:47:25 UTC
Closing as INSUFFICIENT_DATA. Mike, if this is still an issue, please reopen, and paste your guest XML.