From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Fantoni Subject: Re: [TestDay] F20 Xen 4.4 RC3 Spice support Date: Thu, 6 Feb 2014 08:35:27 +0100 Message-ID: References: <1391528492.2441.26.camel@astar.houby.net> <52F10EEF.7050402@m2r.biz> <1391572808.2441.37.camel@astar.houby.net> <15510565929.20140205090647@eikelenboom.it> <1391645864.2751.9.camel@astar.houby.net> <1391660630.2751.12.camel@astar.houby.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4687639335773584100==" Return-path: In-Reply-To: <1391660630.2751.12.camel@astar.houby.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ehouby@yahoo.com Cc: Sander Eikelenboom , "xen-devel@lists.xen.org" , xen@lists.fedoraproject.org List-Id: xen-devel@lists.xenproject.org --===============4687639335773584100== Content-Type: multipart/alternative; boundary=bcaec52c5f5bce1fe704f1b7ea4b --bcaec52c5f5bce1fe704f1b7ea4b Content-Type: text/plain; charset=ISO-8859-1 2014-02-06 5:23 GMT+01:00 Eric Houby : > On Wed, 2014-02-05 at 17:17 -0700, Eric Houby wrote: > > On Wed, 2014-02-05 at 09:06 +0100, Sander Eikelenboom wrote: > > > 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 ? > > > > > > > I do now. I also have the usbredir-devel package. > > > > Thanks for the help. > > > > Is there a knob for qxl support? > > [root@xen ~]# cat /var/log/xen/qemu-dm-f20.log > qemu-system-i386: -vga qxl: invalid option > > > > > Here there is a patch that add qxl support in libxl updated to xen 4.4-rc3 if you want add it: https://github.com/Fantu/Xen/commit/f1e3f78f7b9580700591cebd98e9263645bff56b Or you can simply compile from this already ready for spice/qxl testing: https://github.com/Fantu/Xen/commits/rebase/m2r-testing Is not upstream for now because there is something on xen that make it not working on linux domUs with qxl driver active and working with high performance problem on windows domUs. I spent several days without finding the exact problem to be solved :( If you want you can try it out and see if anything changes using Fedora instead of Debian as dom0, differents kernel domUs etc. Maybe you could even find some new informations/errors useful for solving the problem. --bcaec52c5f5bce1fe704f1b7ea4b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
2014-02-06 5:23 GMT+01:00 Eric Houby <= ;ehouby@yahoo.com= >:
On Wed, 2014-02-05 at 17:17 -0700, Eric H= ouby wrote:
> On Wed, 2014-02-05 at 09:06 +0100, Sander Eikelenboom wrote:
> > 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 S= pice but have run
> > >> > into an issue.
> > >> >
> > >> > My VM config file includes:
> > >> > spice =3D 1
> > >> > spicehost=3D'0.0.0.0'
> > >> > spiceport=3D6001
> > >> > spicedisable_ticketing=3D1
> > >> >
> > >> >
> > >> > 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-di= r-find
> > >> =A0 =A0 =A0 =A0 =A0 --datadir=3D$(SHAREDIR)/qemu-xen \ > > >> =A0 =A0 =A0 =A0 =A0 --localstatedir=3D/var \
> > >> =A0 =A0 =A0 =A0 =A0 --disable-kvm \
> > >> + =A0 =A0 =A0 =A0--enable-spice \
> > >> + =A0 =A0 =A0 =A0--enable-usb-redir \
> > >> =A0 =A0 =A0 =A0 =A0 --disable-docs \
> > >> =A0 =A0 =A0 =A0 =A0 --disable-guest-agent \
> > >> =A0 =A0 =A0 =A0 =A0 --python=3D$(PYTHON) \
> > >>
> > >> If you use upstream qemu from distribution package proba= bly 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 instructi= ons and the
> > > instructions here:
> >
> > > http://wiki.xenproject.org/wiki/Compiling_Xen_F= rom_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
> > > =A0 =A0 =A0 =A0configure was not able to find it
> >
> > Do you have the libspice-dev packages installed for your distro ?=
> >
>
> I do now. I also have the usbredir-devel package.
>
> Thanks for the help.
>

Is there a knob for qxl support?

[root@xen ~]# cat /var/log/xen/qemu-dm-f20.log
qemu-system-i386: -vga qxl: invalid option





Here there is a pat= ch that add qxl support in libxl updated to xen 4.4-rc3 if you want add it:=
https://github.com/Fantu/Xen/commit/f1e3f78f7b9580700591c= ebd98e9263645bff56b
Or you can simply compile from this alread= y ready for spice/qxl testing:
https://github.com/Fantu/Xen/commits/rebase/m2r-= testing

Is no= t upstream for now because there is something on xen that make it not worki= ng on linux domUs with qxl driver active and working with high performance = problem on windows domUs.
I spent several days without finding the exact problem to be solved :(
If <= span class=3D"">you want you can try it out and see if anything changes= using Fedora instead of Debian as<= /span> dom0, differents kernel domUs = etc.
Maybe you could even fin= d some new informations/errors useful for solving the problem.
--bcaec52c5f5bce1fe704f1b7ea4b-- --===============4687639335773584100== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============4687639335773584100==--