Re: Question about SPICE-server

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

 



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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]