Re: Graphical framebuffers confuse, XML format about spice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


What is the meaning of <listen type='address' address='*****'/>,

This is a new syntax starting in libvirt 0.9.4 that allows describing the address to listen on either as an IP address/domain name, or as a network name ("network name" referring to one of the virtual networks defined by libvirt)

If the localhost IP is A and the spice-server IP is B. what should i set the listen type ? to start the Domain and to achieve graphical interaction with the guest OS.

You can leave it at the default of localhost (127.0.0.1) as long as your spice client (e.g. virt-manager) is running on the same machine. You would only want to change the address to something else if you needed to connect directly to the guest's spice server from a different physical machine, and in that case you would set the address to one of the physical interfaces on the host (*not* the guest).

However, this is not the cause of your original problem - your qemu binary doesn't like the -spice option as constructed by libvirt; there is something old / non-standard about this qemu.



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux