(please reply to the list rather than personal mail)

On 09/08/2011 11:23 PM, huachao yao wrote:


2011/9/9 Laine Stump <laine@laine.org>
On 09/07/2011 11:03 PM, huachao yao wrote:
Hello, i want to start a guest OS in the server, and use spice to achieve  graphical interaction with the guest OS. But when i config the XML file, i was confuse by spice .
The graphic node is :
<graphics type='spice' port='5990' ><listen type='address' address='127.0.0.1'/></graphics>

but is has such error as below :
libvir: QEMU error : internal error process exited while connecting to monitor: qemu-spice: -spice port=5990,addr=127.0.0.1,disable-ticketing: Invalid parameter 'addr'
parse error: port=5990,addr=127.0.0.1,disable-ticketing

Apparently your "qemu-spice" binary supports the -spice option, but doesn't support the addr option. That seems very strange. What is the origin of "qemu-spice", and what version does it display?

The qemu-spice version is :
version 0.13.50 (qemu-kvm-devel), copy-right 2003-2008
and the host OS is Fedora 13 , x86_64
I think that  "qemu-spice" binary supports the -spice option, but doesn't support the addr option." is a good reason to explain to problem. But how can i get the latest qemu-spice ?
It is suit fedora 13?

Where did the original "qemu-spice" come from? That's not an official Fedora13 package, and in later versions of Fedora, spice support is included in the standard qemu-kvm package. It sounds like you either built qemu + a spice patch from source, or found a prebuilt package like that somewhere.

I've only used the spice support that is integrated into the qemu-kvm package of Fedora 14 and RHEL (the qemu-kvm in Fedora 13 is too old to have spice support, and Fedora 13 is now officially out of support mode)

I would do one of these things:

1) try getting a source tarball for a more recent qemu-kvm release and build/install that on your F13 machine.

2) upgrade to F14 or F15 (if you upgrade to F14, add the virt-preview repo to your yum configuration (just copy http://repos.fedorapeople.org/repos/jforbes/virt-preview/fedora-virt-preview.repo into /etc/yum.repos.d)

3) Decide that you maybe don't *really* need spice support, but that the VNC-based guest displays are adequate for your needs - this will work with the stock qemu-kvm on F13 and is just fine for most uses.