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

Re: [Xen-devel] [TestDay] F20 Xen 4.4 RC3 Spice support



Wednesday, February 5, 2014, 5:00:08 AM, you wrote:

> On Tue, 2014-02-04 at 17:01 +0100, Fabio Fantoni wrote:
>> Il 04/02/2014 16:41, Eric Houby ha scritto:
>> > Xen list,
>> >
>> > I am trying to boot a F20 guest and connect using Spice but have run
>> > into an issue.
>> >
>> > My VM config file includes:
>> > spice = 1
>> > spicehost='0.0.0.0'
>> > spiceport=6001
>> > spicedisable_ticketing=1
>> >
>> >
>> > Is Spice supported with qemu-xen-traditional?
>> 
>> No, only with upstream qemu and if compile xen and qemu from source you 
>> also enable spice support on qemu build, for example on my xen build 
>> tests I add:
>> 
>> tools/Makefile
>> @@ -201,6 +201,8 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
>>           --datadir=$(SHAREDIR)/qemu-xen \
>>           --localstatedir=/var \
>>           --disable-kvm \
>> +        --enable-spice \
>> +        --enable-usb-redir \
>>           --disable-docs \
>>           --disable-guest-agent \
>>           --python=$(PYTHON) \
>> 
>> If you use upstream qemu from distribution package probably have already 
>> spice build-in, for example, on debian I've already tested and working.
>> 

> It is my understanding that the qemu package in F20 does not support xen
> so I compiled xen from source per the RC3 Test Day instructions and the
> instructions here:

> http://wiki.xenproject.org/wiki/Compiling_Xen_From_Source

> After adding --enable-spice and --enable-usb-redir to tools/Makefile I
> see the following error when I make xen:

> ERROR: User requested feature spice
>        configure was not able to find it

Do you have the libspice-dev packages installed for your distro ?

> The build finishes and xen works fine but spice obviously does not work.
> More complete log is below.

> Thanks,

> Eric


> if test -d git://xenbits.xen.org/qemu-upstream-unstable.git ; then \
>         mkdir -p qemu-xen-dir; \
> else \
>         export GIT=git; \
>         /root/src/xen/tools/../scripts/git-checkout.sh
> git://xenbits.xen.org/qemu-upstream-unstable.git q
> emu-xen-4.4.0-rc3 qemu-xen-dir ; \
> fi
> if test -d git://xenbits.xen.org/qemu-upstream-unstable.git ; then \
>         source=git://xenbits.xen.org/qemu-upstream-unstable.git; \
> else \
>         source=.; \
> fi; \
> cd qemu-xen-dir; \
> $source/configure --enable-xen --target-list=i386-softmmu \
>         --enable-debug --enable-trace-backend=stderr \
>         --prefix=/usr/local \
>         --source-path=$source \
>         --extra-cflags="-I/root/src/xen/tools/../tools/include \
>         -I/root/src/xen/tools/../tools/libxc \
>         -I/root/src/xen/tools/../tools/xenstore \
>         -I/root/src/xen/tools/../tools/xenstore/compat \
>         " \
>         --extra-ldflags="-L/root/src/xen/tools/../tools/libxc \
>         -L/root/src/xen/tools/../tools/xenstore" \
>         --bindir=/usr/local/lib/xen/bin \
>         --datadir=/usr/local/share/qemu-xen \
>         --localstatedir=/var \
>         --disable-kvm \
>         --enable-spice \
>         --enable-usb-redir \
>         --disable-docs \
>         --disable-guest-agent \
>         --python=python \
>         ; \
> make all

> ERROR: User requested feature spice
>        configure was not able to find it

> make[3]: Entering directory `/root/src/xen/tools/qemu-xen-dir-remote'
> make[3]: Leaving directory `/root/src/xen/tools/qemu-xen-dir-remote'











_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.