[Spice-devel] Question about SPICE-server
Christophe Fergeau
cfergeau at redhat.com
Fri Nov 18 14:56:11 UTC 2016
Hey,
On Fri, Nov 18, 2016 at 11:49:11AM +0300, Ilya wrote:
> For example: I have one host with qemu-kvm hypervisor installation
> under Openstack (test environment) project. I have installed that
> packages: virt-viwer, spice-xpi, spice-protocol, spice-server and I
> could't realise have I loaded and functioning spice-server or not? I
> know only one thing that I don't have a TCP-ports 5900 and 5901
> listening for connection.
Fwiw, I'd first get familiar with SPICE/qemu outside of OpenStack.
spice-server might be badly named, it's a shared library (.so)
implementing the SPICE protocol. QEMU uses it, so does Xspice.
If QEMU is built with SPICE support (if QEMU is linked with
libspice-server.so), then it's possible to start a virtual machine
which will use the SPICE protocol, but this has to be done explicitly.
Simplest form is
qemu-system-x86_64 -spice port=5900,disable-ticketing
> I couldn't realise do I need to run Xspice on my host or it must be
> automatically started with my hypervisor.
Xspice would be running in the guest and lets you access an X session
over SPICE.
This is different from using native QEMU SPICE support, where you would
not need to do anything except tell QEMU that you want to use it.
> And one more: I reconfigure VM on my qemu-kvm to use and SPICE and QXL
> but after that reconfiguring when I try to start it from virt-manager
> - my VM is working about 20 seconds and truning off EVERY TIME.
> What I am doing wrong?
This looks like a bug, but it's not clear what's happening. Did you take
a look at libvirt logs for that guest? They are either in
/var/log/libvirt/qemu/ or ~/.cache/libvirt/qemu/log/
Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20161118/29e22c6d/attachment.sig>
More information about the Spice-devel
mailing list