[Spice-devel] spice @ arm

2012-09-09 Thread Gerd Hoffmann
Hi, FYI: spice reportly works just fine on arm, see: https://bugzilla.redhat.com/show_bug.cgi?id=613529 Just a little configure patch is required. cheers, Gerd ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop

Re: [Spice-devel] Screen video support

2012-09-09 Thread flooding Controlled
yeah, I will try it. 2012/9/9 Dunrong Huang > 2012/9/9 flooding Controlled : > > Sounds good. But if we want to convert images to video, nearly 24 images > > per seconds to be catched, is this possible for spice to do this ? > > > 1000ms/24=42, means spice_display_get_pixbuf() should be called

[Spice-devel] [warning reduction 11/11] Document a meaningful warning.

2012-09-09 Thread Jeremy White
--- src/qxl_ring.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/qxl_ring.c b/src/qxl_ring.c index 2156113..0dcacf7 100644 --- a/src/qxl_ring.c +++ b/src/qxl_ring.c @@ -91,6 +91,8 @@ qxl_ring_push (struct qxl_ring *ring, idx = header->prod & (ring->n_elements - 1); elt =

[Spice-devel] [warning reduction 10/11] Eliminate gcc warning "initialization discards 'const' qualifier from pointer target type"

2012-09-09 Thread Jeremy White
--- src/qxl_driver.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/qxl_driver.c b/src/qxl_driver.c index 360a245..f3515e4 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -67,6 +67,10 @@ extern void compat_init_scrn (ScrnInfoPtr); #define

[Spice-devel] [warning reduction 09/11] Eliminate const warnings.

2012-09-09 Thread Jeremy White
--- src/spiceqxl_inputs.c | 26 +- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/src/spiceqxl_inputs.c b/src/spiceqxl_inputs.c index c1f6be3..6bf3a81 100644 --- a/src/spiceqxl_inputs.c +++ b/src/spiceqxl_inputs.c @@ -46,9 +46,10 @@ void XSpicePointerUnIn

[Spice-devel] [warning reduction 08/11] Add the gnu_printf format attributes; silences a warning.

2012-09-09 Thread Jeremy White
--- src/qxl_mem.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qxl_mem.c b/src/qxl_mem.c index c32eba6..fc3d6d1 100644 --- a/src/qxl_mem.c +++ b/src/qxl_mem.c @@ -54,6 +54,9 @@ qxl_mem_unverifiable(struct qxl_mem *mem) #endif static void +errout (void *data, const char *forma

[Spice-devel] [warning reduction 07/11] Eliminate a printf format warning on 32 bit systems.

2012-09-09 Thread Jeremy White
--- src/spiceqxl_io_port.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spiceqxl_io_port.c b/src/spiceqxl_io_port.c index 9d92f93..f570041 100644 --- a/src/spiceqxl_io_port.c +++ b/src/spiceqxl_io_port.c @@ -186,8 +186,8 @@ static void qxl_set_mode(qxl_screen_t *

[Spice-devel] [warning reduction 06/11] Eliminate a gcc "cast discards '__attribute__((const))'" warning

2012-09-09 Thread Jeremy White
--- src/uxa/uxa-accel.c |2 +- src/uxa/uxa-priv.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uxa/uxa-accel.c b/src/uxa/uxa-accel.c index 557ca75..66087d9 100644 --- a/src/uxa/uxa-accel.c +++ b/src/uxa/uxa-accel.c @@ -949,7 +949,7 @@ out: REGION_DESTROY(pS

[Spice-devel] [warning reduction 05/11] Silence a gcc "assignment discards 'const' qualifier" warning

2012-09-09 Thread Jeremy White
--- src/qxl_driver.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/qxl_driver.c b/src/qxl_driver.c index 8e19bb8..360a245 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -2544,9 +2544,10 @@ qxl_identify (int flags) static void qxl_init_scrn (ScrnInfoPtr

[Spice-devel] [warning reduction 04/11] Eliminate gcc warning on duplicate use of ARRAY_SIZE by Xorg.

2012-09-09 Thread Jeremy White
--- src/spiceqxl_driver.c |4 ++-- src/spiceqxl_spice_server.c |8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/spiceqxl_driver.c b/src/spiceqxl_driver.c index dea5190..990467f 100644 --- a/src/spiceqxl_driver.c +++ b/src/spiceqxl_driver.c @@ -33,7 +33

[Spice-devel] [warning reduction 03/11] Rename local parameter 'access' to avoid a conflict; solves a gcc -Wshadow warning.

2012-09-09 Thread Jeremy White
--- src/qxl_driver.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qxl_driver.c b/src/qxl_driver.c index f543680..8e19bb8 100644 --- a/src/qxl_driver.c +++ b/src/qxl_driver.c @@ -1232,10 +1232,10 @@ int uxa_pixmap_index; #endif static Bool -qxl_prepare_access

[Spice-devel] [warning reduction 02/11] Use an alternate local variable than sin, as it conflicts with the math library. Eliminates gcc -Wshadow warnings.

2012-09-09 Thread Jeremy White
--- src/spiceqxl_display.c | 42 +- src/spiceqxl_inputs.c | 32 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/src/spiceqxl_display.c b/src/spiceqxl_display.c index b1ce557..b6ae73d 100644 --- a/src/sp

[Spice-devel] [warning reduction 01/11] mathcalls.h defines a y1() function which triggers a gcc warning; use y_1 local variables instead to avoid this warning.

2012-09-09 Thread Jeremy White
--- src/qxl_driver.c |4 +- src/qxl_surface.c| 66 +-- src/uxa/uxa-accel.c | 70 ++--- src/uxa/uxa-damage.c | 50 ++--- src/uxa/uxa-glyphs.c | 120 +- 5 files changed

[Spice-devel] [warning reduction 00/11] Eliminating warnings in xf86-video-qxl

2012-09-09 Thread Jeremy White
The following patch series remove nearly all warnings from xf86-video-qxl. The final one does not remove a warning, but documents the related code with a TODO as the warning appears to be correct. You still get a large number of redudant decl warnings from two xorg include files even with this; a

Re: [Spice-devel] Screen video support

2012-09-09 Thread Dunrong Huang
2012/9/9 flooding Controlled : > Sounds good. But if we want to convert images to video, nearly 24 images > per seconds to be catched, is this possible for spice to do this ? > 1000ms/24=42, means spice_display_get_pixbuf() should be called every 40ms, e.g. while (1) { spice_display_get_pixbuf

Re: [Spice-devel] [Spice-commits] 5 commits - client/display_channel.cpp server/red_worker.c server/spice.h

2012-09-09 Thread Alon Levy
> Hi, > > On 09/07/2012 06:09 PM, Søren Sandmann Pedersen wrote: > > client/display_channel.cpp |1 + > > server/red_worker.c| 31 +++ > > server/spice.h |5 - > > 3 files changed, 36 insertions(+), 1 deletion(-) > > > > New commit

[Spice-devel] [PATCH] Require XServer >= 1.12.99.901 in conjunction with commit 4a43bd4.

2012-09-09 Thread Johannes Obermayr
--- configure.ac |2 +- 1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-) diff --git a/configure.ac b/configure.ac index a18910a..109389f 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,7 @@ XORG_DRIVER_CHECK_EXT(XV, videoproto) XORG_DRIVER_CHECK_EXT(XFreeXDGA, xf86dgap

[Spice-devel] Spice performance

2012-09-09 Thread Olli Ruotsalainen
Hi Spice Support, I have Red Hat Virtualization environment. I have few virtual machines there which are running Red Hat Enterprise Linux 6.3. I'm controlling and using the virtual machines with my remote PC over SPICE. Mostly things are working quite well. However I have discovered some perf

[Spice-devel] About SPICE and RHEV

2012-09-09 Thread Metin Barış
Dear Sir/Madam, I am Metin Barış from Turkey. I am a project manager working in EES, a reputable software company in Ankara. We are working on a project about smart terminals and we aim to use virtual desktop infrastructure in our products. This project looks very promising about future of VDI

Re: [Spice-devel] [PATCH] Enable the use of SpiceExitOnDisconnect so that Xspice can be configured to allow exactly one server per client session.

2012-09-09 Thread Alon Levy
Ack. > --- > src/qxl.h |1 + > src/qxl_driver.c|2 ++ > src/spiceqxl_spice_server.c | 12 > 3 files changed, 15 insertions(+) > > diff --git a/src/qxl.h b/src/qxl.h > index 8494550..03d08a1 100644 > --- a/src/qxl.h > +++ b/src/qxl.h > @@ -125,