Re: [Spice-devel] spice-gtk usb-redirection

2012-08-07 Thread flooding Controlled
you can use the socket for spice-xpi useage. 2012/8/8 Jackson > > examples of the 2 > > on the qemu cmdline are: > > > > -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb- > >redir,chardev=usbredirchardev1 > > > > -chardev socket,host=192.168.1.9,port=4000,id=usbredirchardev2 -devi

Re: [Spice-devel] spice-gtk usb-redirection

2012-08-07 Thread Jackson
> examples of the 2 > on the qemu cmdline are: > > -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb- >redir,chardev=usbredirchardev1 > > -chardev socket,host=192.168.1.9,port=4000,id=usbredirchardev2 -device usb- >redir,chardev=usbredirchardev2 Excuse me, the second qemu cmdline,

[Spice-devel] [PATCH] spice-ppc: adds powerpc64 mem barriers

2012-08-07 Thread sombrafam
From: Erlon Cruz Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- spice/barrier.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/spice/barrier.h b/spice/barrier.h index 710da09..77bce2e 100644 --- a/spice/barrier.h

[Spice-devel] [PATCH 3/3] spice-ppc: update submodule to support ppc64

2012-08-07 Thread sombrafam
From: Fabiano Fidêncio Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- spice-protocol |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/spice-protocol b/spice-protocol index da908f8..0dd5c12 16 --- a/spice-protocol

[Spice-devel] [PATCH 2/3] spice-ppc: fix lz magic endianness

2012-08-07 Thread sombrafam
From: Erlon Cruz Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- common/lz.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/lz.c b/common/lz.c index 568aae7..f022a26 100644 --- a/common/lz.c +++ b/common/lz.c

[Spice-devel] [PATCH 1/3] spice-ppc: Adds powerpc compilation support

2012-08-07 Thread sombrafam
From: Erlon Cruz Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- configure.ac |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/configure.ac b/configure.ac index e70e786..53a4574 100644 --- a/configure.ac +++ b/con

[Spice-devel] [PATCH 7/7] spice-ppc: update submodule to support ppc64

2012-08-07 Thread Erlon Cruz
From: Fabiano Fidêncio Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- spice-common |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/spice-common b/spice-common index 735e431..7d98fcd 16 --- a/spice-common +++ b/sp

[Spice-devel] [PATCH 6/7] spice-ppc: GCC, please, shut up!

2012-08-07 Thread Erlon Cruz
From: Fabiano Fidêncio Fixing warnings, please, amend this commit to: 29b543ae6fd4493b930973622e71c6ecafb6f703 Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- server/reds.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[Spice-devel] [PATCH 5/7] spice-ppc: avoid casts to lessers types!

2012-08-07 Thread Erlon Cruz
From: Fabiano Fidêncio It's breaking PPC's keyboard functionality, once this cast is getting the first byte (from left to right) on any architecture, what's wrong when we think in a PPC (we should get the last one, instead). Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fi

[Spice-devel] [PATCH 4/7] spice-ppc: fix glz magic endianess

2012-08-07 Thread Erlon Cruz
From: Erlon Cruz Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- server/glz_encoder.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/glz_encoder.c b/server/glz_encoder.c index 1ec1f9b..f8415a8 100644 --- a/serv

[Spice-devel] [PATCH 3/7] spice-ppc: Fixing endianess for channel messages

2012-08-07 Thread Erlon Cruz
From: Erlon Cruz Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- server/red_channel.c | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/server/red_channel.c b/server/red_channel.c index 2a7acbf..f376

[Spice-devel] [PATCH 2/7] spice-ppc: Fixing endianess for channel startup negotiation

2012-08-07 Thread Erlon Cruz
From: Erlon Cruz Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- server/reds.c | 82 - 1 files changed, 69 insertions(+), 13 deletions(-) diff --git a/server/reds.c b/server/reds.c ind

[Spice-devel] [PATCH 1/7] spice-ppc: Adds powerppc compilation support

2012-08-07 Thread Erlon Cruz
From: Erlon Cruz Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- configure.ac | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index bed0464..c26829f 100644 --- a/configure.ac +++ b/

[Spice-devel] Port libspice to BE machines

2012-08-07 Thread Erlon Cruz
This series of patches make changes on libspice to support BE archs. It still doesn't ports spicec client running on BE machines. Please review. ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/

[Spice-devel] [PATCH 7/7] spice-ppc: update submodule to support ppc64

2012-08-07 Thread Erlon Cruz
From: Fabiano Fidêncio Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- spice-common |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/spice-common b/spice-common index 735e431..7d98fcd 16 --- a/spice-common +++ b/sp

[Spice-devel] [PATCH 6/7] spice-ppc: GCC, please, shut up!

2012-08-07 Thread Erlon Cruz
From: Fabiano Fidêncio Fixing warnings, please, amend this commit to: 29b543ae6fd4493b930973622e71c6ecafb6f703 Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- server/reds.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

[Spice-devel] [PATCH 5/7] spice-ppc: avoid casts to lessers types!

2012-08-07 Thread Erlon Cruz
From: Fabiano Fidêncio It's breaking PPC's keyboard functionality, once this cast is getting the first byte (from left to right) on any architecture, what's wrong when we think in a PPC (we should get the last one, instead). Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fi

[Spice-devel] [PATCH 4/7] spice-ppc: fix glz magic endianess

2012-08-07 Thread Erlon Cruz
Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- server/glz_encoder.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/glz_encoder.c b/server/glz_encoder.c index 1ec1f9b..f8415a8 100644 --- a/server/glz_encoder.c ++

[Spice-devel] [PATCH 3/7] spice-ppc: Fixing endianess for channel messages

2012-08-07 Thread Erlon Cruz
Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- server/red_channel.c | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions(-) diff --git a/server/red_channel.c b/server/red_channel.c index 2a7acbf..f376265 100644 --- a/se

[Spice-devel] [PATCH 2/7] spice-ppc: Fixing endianess for channel startup negotiation

2012-08-07 Thread Erlon Cruz
Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- server/reds.c | 82 - 1 files changed, 69 insertions(+), 13 deletions(-) diff --git a/server/reds.c b/server/reds.c index e3ea154..9df6e2d

[Spice-devel] [PATCH 1/7] spice-ppc: Adds powerppc compilation support

2012-08-07 Thread Erlon Cruz
Signed-off-by: Erlon R. Cruz Signed-off-by: Fabiano Fidêncio Signed-off-by: Rafael F. Santos --- configure.ac | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index bed0464..c26829f 100644 --- a/configure.ac +++ b/configure.ac @@ -56

[Spice-devel] Port libspice to BE machines

2012-08-07 Thread Erlon Cruz
This series of patches make changes on libspice to support BE archs. It still doesn't ports spicec client running on BE machines. Please review. ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/

Re: [Spice-devel] [spice-gtk] build: generate sym-file

2012-08-07 Thread Marc-André Lureau
ack On Tue, Aug 7, 2012 at 6:34 PM, Christophe Fergeau wrote: > When -Wl,--version-script is not available, we fallback to using > libtool --export-symbols feature, but the needed sym-file is missing > from git. This commit adds generation of the sym-file to the > update-map-file Makefile target,

[Spice-devel] [spice-gtk] build: generate sym-file

2012-08-07 Thread Christophe Fergeau
When -Wl,--version-script is not available, we fallback to using libtool --export-symbols feature, but the needed sym-file is missing from git. This commit adds generation of the sym-file to the update-map-file Makefile target, and adds a sym-file to git. The linker on OSX Lion doesn't like to have

[Spice-devel] [spice-gtk] build: remove --export-symbols fallback

2012-08-07 Thread Christophe Fergeau
When -Wl,--version-script is not available, spice-gtk falls back to using --export-symbols. However, use of --export-symbols does not have an associate autoconf check to make sure it's available, and the symbol file it refers to (sym-file) does not exist in git, and does not seem to be generated du

Re: [Spice-devel] Performance of Xspice - some results, and a potential patch

2012-08-07 Thread John A. Sullivan III
On Tue, 2012-08-07 at 08:08 -0500, Jeremy White wrote: > > I don't know what were the network conditions you tested, but it would be > > great if you could repeat your test with lower bandwidth (you can use tc), > > and also, you can try disabling off-screen surfaces in the driver. > > I do have

Re: [Spice-devel] [spice-gtk] build: add --enable-smartcard=auto support

2012-08-07 Thread Marc-André Lureau
ack - Mensaje original - > Currently, when running configure with no arguments, smartcard > support is enabled by default, and configure will fail if it cannot > find libcacard. This commit adds a --enable-smartcard=auto mode to > configure which will use automatically enable smartcard sup

[Spice-devel] [spice-gtk] build: add --enable-smartcard=auto support

2012-08-07 Thread Christophe Fergeau
Currently, when running configure with no arguments, smartcard support is enabled by default, and configure will fail if it cannot find libcacard. This commit adds a --enable-smartcard=auto mode to configure which will use automatically enable smartcard support if libcacard is available, but it wil

Re: [Spice-devel] Performance of Xspice - some results, and a potential patch

2012-08-07 Thread Jeremy White
> I don't know what were the network conditions you tested, but it would be > great if you could repeat your test with lower bandwidth (you can use tc), > and also, you can try disabling off-screen surfaces in the driver. I do have a test network constructed for just that purpose, so I can manag

Re: [Spice-devel] Any Volunteers to rewrite spice by Object-C

2012-08-07 Thread Christophe Fergeau
On Tue, Aug 07, 2012 at 07:13:20AM -0400, John A. Sullivan III wrote: > On Tue, 2012-08-07 at 10:23 +0200, Christophe Fergeau wrote: > > On Tue, Aug 07, 2012 at 12:19:00AM +0200, David Jaša wrote: > > > Hi, > > > > > > out of curiosity - what purpose would such rewrite serve? If is is Mac > > > OS

Re: [Spice-devel] Any Volunteers to rewrite spice by Object-C

2012-08-07 Thread John A. Sullivan III
On Tue, 2012-08-07 at 10:23 +0200, Christophe Fergeau wrote: > On Tue, Aug 07, 2012 at 12:19:00AM +0200, David Jaša wrote: > > Hi, > > > > out of curiosity - what purpose would such rewrite serve? If is is Mac > > OS X port, > > This would likely be useful to run on iOS. Are there any problems w

Re: [Spice-devel] [PATCH spice-xpi] wait for the socket file

2012-08-07 Thread Marc-André Lureau
- Mensaje original - > Hi, > > in a log (rhel) and also in the debug messages, there sometimes > appear > messages, that a controller could not connect to a socket file > (int SpiceController::Connect()). This is caused by the fact, that we > try > to connect before the socket is present

Re: [Spice-devel] Any Volunteers to rewrite spice by Object-C

2012-08-07 Thread Christophe Fergeau
On Tue, Aug 07, 2012 at 05:26:32PM +0800, flooding Controlled wrote: > sounds good. However, seems lots of work to do. > > [?] Probably. Unless spice-glib and possibly spice-gtk can be reused there. Christophe pgpbwQ3WTDBYA.pgp Description: PGP signature ___

Re: [Spice-devel] Any Volunteers to rewrite spice by Object-C

2012-08-07 Thread flooding Controlled
sounds good. However, seems lots of work to do. [?] 2012/8/7 Christophe Fergeau > On Tue, Aug 07, 2012 at 12:19:00AM +0200, David Jaša wrote: > > Hi, > > > > out of curiosity - what purpose would such rewrite serve? If is is Mac > > OS X port, > > This would likely be useful to run on iOS. > >

[Spice-devel] [PATCH spice-xpi] wait for a socket file

2012-08-07 Thread Peter Hatina
Or with some timeout hooked up. --- SpiceXPI/src/plugin/controller.cpp | 8 1 file changed, 8 insertions(+) diff --git a/SpiceXPI/src/plugin/controller.cpp b/SpiceXPI/src/plugin/controller.cpp index b912c27..323e89a 100644 --- a/SpiceXPI/src/plugin/controller.cpp +++ b/SpiceXPI/src/plu

[Spice-devel] [PATCH spice-xpi] wait for the socket file

2012-08-07 Thread Peter Hatina
Hi, in a log (rhel) and also in the debug messages, there sometimes appear messages, that a controller could not connect to a socket file (int SpiceController::Connect()). This is caused by the fact, that we try to connect before the socket is present. I added this simple poll loop to wait for the

Re: [Spice-devel] Any Volunteers to rewrite spice by Object-C

2012-08-07 Thread Christophe Fergeau
On Tue, Aug 07, 2012 at 12:19:00AM +0200, David Jaša wrote: > Hi, > > out of curiosity - what purpose would such rewrite serve? If is is Mac > OS X port, This would likely be useful to run on iOS. Christophe pgpugTXjEJzQ5.pgp Description: PGP signature _

Re: [Spice-devel] Performance of Xspice - some results, and a potential patch

2012-08-07 Thread Yaniv Kaul
- Original Message - > I've spent several weeks analyzing the network performance of Xspice > against two test cases. I also crafted a patch which implements an > alternate mode for the xf86-video-qxl driver that dramatically > improves > network performance. > > The two test cases are si