[Spice-devel] [PATCH 2/3] spice-channel: add property total-bytes-read

2011-07-01 Thread Alon Levy
--- gtk/spice-channel-priv.h |2 ++ gtk/spice-channel.c | 14 ++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/gtk/spice-channel-priv.h b/gtk/spice-channel-priv.h index 84da31c..dfd35eb 100644 --- a/gtk/spice-channel-priv.h +++ b/gtk/spice-channel-priv.h @@

[Spice-devel] [PATCH 3/3] add dummyload test app

2011-07-01 Thread Alon Levy
--- gtk/Makefile.am | 13 +- gtk/dummyload.c | 128 +++ 2 files changed, 140 insertions(+), 1 deletions(-) create mode 100644 gtk/dummyload.c diff --git a/gtk/Makefile.am b/gtk/Makefile.am index fb5054c..30a01e5 100644 --- a/gtk/Makefile

[Spice-devel] [PATCH 1/3] spice-channel: export spice_channel_type_to_string

2011-07-01 Thread Alon Levy
--- gtk/map-file|1 + gtk/spice-channel.c |3 +-- gtk/spice-channel.h |2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gtk/map-file b/gtk/map-file index 8eef771..0161a7a 100644 --- a/gtk/map-file +++ b/gtk/map-file @@ -12,6 +12,7 @@ spice_channel_open_fd;

Re: [Spice-devel] SPICE Fedora 15 guest X running at 100%

2011-07-01 Thread Alon Levy
On Fri, Jul 01, 2011 at 04:29:50PM -0400, John A. Sullivan III wrote: > On Thu, 2011-06-16 at 01:39 +0200, Alon Levy wrote: > > On Wed, Jun 15, 2011 at 04:08:43PM -0400, John A. Sullivan III wrote: > > > Since we were having some trouble as just outlined on our Windows tests, > > > we thought we wo

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread Alon Levy
On Fri, Jul 01, 2011 at 09:40:41PM -0400, John A. Sullivan III wrote: > On Fri, 2011-07-01 at 17:05 +0200, Alon Levy wrote: > > On Fri, Jul 01, 2011 at 03:00:32PM +0200, Gianluca Cecchi wrote: > > > On Fri, Jul 1, 2011 at 1:04 PM, John A. Sullivan III wrote: > > > > Interesting observation. That i

[Spice-devel] [RfC 0/4] add record and replay at device level

2011-07-01 Thread Alon Levy
Add logging of command ring and QXLWorker commands (i.e. dispatcher) to a file, and replay of same. See individual patches for link to an example saved file and usage of replay utility. Lately there has been a renewed interest in trying to improve the protocol bandwidth, the cpu and memory usage.

[Spice-devel] [RfC 4/4] server/tests/replay: introduce

2011-07-01 Thread Alon Levy
usage: replay will run the commands from cmdfile ignoring timestamps, right after a connection is established from the client, and will SIGINT the client on end of cmdfile, and exit itself after waiting for the client. dummyload from spice-gtk is useful for testing, it prints the summary of the

[Spice-devel] [RfC 3/4] server/red_worker: record to SPICE_WORKER_RECORD_FILENAME

2011-07-01 Thread Alon Levy
if the environment variable in the title is set and can be opened for writing a log of all display commands (no cursor commands yet) and any QXLWorker calls (particularily primary create and destroy) will be logged to that file, and possible to replay using the replay utility introduced later. For

[Spice-devel] [RfC 1/4] server/red_worker: explicitly include unistd and errno

2011-07-01 Thread Alon Levy
--- server/red_worker.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/server/red_worker.h b/server/red_worker.h index b4e2ed2..b85ee40 100644 --- a/server/red_worker.h +++ b/server/red_worker.h @@ -18,6 +18,8 @@ #ifndef _H_REDWORKER #define _H_REDWORKER +#include +

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread John A. Sullivan III
On Fri, 2011-07-01 at 17:05 +0200, Alon Levy wrote: > On Fri, Jul 01, 2011 at 03:00:32PM +0200, Gianluca Cecchi wrote: > > On Fri, Jul 1, 2011 at 1:04 PM, John A. Sullivan III wrote: > > > Interesting observation. That is true; we did not create separate VM > > > definitions for SPICE and TSPlus t

Re: [Spice-devel] SPICE Fedora 15 guest X running at 100%

2011-07-01 Thread John A. Sullivan III
On Thu, 2011-06-16 at 01:39 +0200, Alon Levy wrote: > On Wed, Jun 15, 2011 at 04:08:43PM -0400, John A. Sullivan III wrote: > > Since we were having some trouble as just outlined on our Windows tests, > > we thought we would let SPICE put its best foot forward and try a Fedora > > 15 guest running

Re: [Spice-devel] Purpose of interface version checks in server/reds.c

2011-07-01 Thread Alon Levy
On Fri, Jul 01, 2011 at 03:58:01PM +0200, Christophe Fergeau wrote: > Hi, > > While looking at a crash in qemu when SPICE_INTERFACE_PLAYBACK_MINOR was > increased, I came across the version checking code in > spice_server_add_interface > in server/reds.c which does stuff like > > if (strcmp(inte

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread Alon Levy
On Fri, Jul 01, 2011 at 09:18:14AM -0400, John A. Sullivan III wrote: > On Fri, 2011-07-01 at 15:00 +0200, Gianluca Cecchi wrote: > > On Fri, Jul 1, 2011 at 1:04 PM, John A. Sullivan III wrote: > > > Interesting observation. That is true; we did not create separate VM > > > definitions for SPICE a

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread Alon Levy
On Fri, Jul 01, 2011 at 03:00:32PM +0200, Gianluca Cecchi wrote: > On Fri, Jul 1, 2011 at 1:04 PM, John A. Sullivan III wrote: > > Interesting observation. That is true; we did not create separate VM > > definitions for SPICE and TSPlus thus the TSPlus environment is using > > the QXL driver.  Wou

[Spice-devel] Purpose of interface version checks in server/reds.c

2011-07-01 Thread Christophe Fergeau
Hi, While looking at a crash in qemu when SPICE_INTERFACE_PLAYBACK_MINOR was increased, I came across the version checking code in spice_server_add_interface in server/reds.c which does stuff like if (strcmp(interface->type, SPICE_INTERFACE_RECORD) == 0) { red_printf("SPICE_INTERFACE_RECORD")

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread John A. Sullivan III
On Fri, 2011-07-01 at 15:00 +0200, Gianluca Cecchi wrote: > On Fri, Jul 1, 2011 at 1:04 PM, John A. Sullivan III wrote: > > Interesting observation. That is true; we did not create separate VM > > definitions for SPICE and TSPlus thus the TSPlus environment is using > > the QXL driver. Would we e

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread Gianluca Cecchi
On Fri, Jul 1, 2011 at 1:04 PM, John A. Sullivan III wrote: > Interesting observation. That is true; we did not create separate VM > definitions for SPICE and TSPlus thus the TSPlus environment is using > the QXL driver.  Would we expect that to have any "supercharging" effect > on RDP? > > Proba

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread John A. Sullivan III
On Fri, 2011-07-01 at 12:48 +0200, Gianluca Cecchi wrote: > If I'm correct, you still have some "piece of spice" in your enhanced > RDP environment too. > Can you confirm that in your guest definition you maintain > > > > function='0x0'/> > > > even when you test via TSPLUS? >

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread Gianluca Cecchi
If I'm correct, you still have some "piece of spice" in your enhanced RDP environment too. Can you confirm that in your guest definition you maintain even when you test via TSPLUS? So that in this moment your best experience is with an hybrid configuration: spice for hw video

Re: [Spice-devel] [OT] Info on netkvm usability for win7 guest on rh el 6.1

2011-07-01 Thread John A. Sullivan III
On Fri, 2011-07-01 at 11:57 +0200, Gianluca Cecchi wrote: > Hello, > I'm going to open an official information ticket with RH, but > eventually I can get information here too, at least for common usage. > I have rh el 6.1 hypervisor. > > In "KVM Guest VM compatibility" section, the > Red_Hat_Enter

[Spice-devel] [OT] Info on netkvm usability for win7 guest on rh el 6.1

2011-07-01 Thread Gianluca Cecchi
Hello, I'm going to open an official information ticket with RH, but eventually I can get information here too, at least for common usage. I have rh el 6.1 hypervisor. In "KVM Guest VM compatibility" section, the Red_Hat_Enterprise_Linux-6-Virtualization-en-US guide contains: The following URL is

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread John A. Sullivan III
On Fri, 2011-07-01 at 11:37 +0200, Alon Levy wrote: > On Thu, Jun 30, 2011 at 02:42:55PM -0400, John A. Sullivan III wrote: > > On Thu, 2011-06-30 at 20:21 +0200, Alon Levy wrote: > > > On Thu, Jun 30, 2011 at 02:01:48PM -0400, John A. Sullivan III wrote: > > > > On Thu, 2011-06-30 at 10:10 +0300,

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread John A. Sullivan III
On Fri, 2011-07-01 at 11:32 +0200, Gianluca Cecchi wrote: > On Fri, Jul 1, 2011 at 11:24 AM, John A. Sullivan III wrote: > > We are a managed service provider so we are prohibited from offering > > Windows 7. We are only allowed to license Windows Server 2008 under > > SPLA licensing hence the cho

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread Alon Levy
On Thu, Jun 30, 2011 at 02:42:55PM -0400, John A. Sullivan III wrote: > On Thu, 2011-06-30 at 20:21 +0200, Alon Levy wrote: > > On Thu, Jun 30, 2011 at 02:01:48PM -0400, John A. Sullivan III wrote: > > > On Thu, 2011-06-30 at 10:10 +0300, Yaniv Kaul wrote: > > > > On 06/30/2011 05:33 AM, John A. Su

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread Gianluca Cecchi
On Fri, Jul 1, 2011 at 11:24 AM, John A. Sullivan III wrote: > We are a managed service provider so we are prohibited from offering > Windows 7.  We are only allowed to license Windows Server 2008 under > SPLA licensing hence the choice.  Although we do have one test Windows 7 > system. Ok. So I c

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread John A. Sullivan III
On Fri, 2011-07-01 at 10:05 +0200, Gianluca Cecchi wrote: > On Thu, Jun 30, 2011 at 8:42 PM, John A. Sullivan III wrote: > > Sorry - the VM is Windows Server 2008, client is Debian Squeeze, host is > > Fedora 15 - John > > Actually you already wrote details about the guest in one of your > previo

Re: [Spice-devel] Unfair comparisons with RDP

2011-07-01 Thread Gianluca Cecchi
On Thu, Jun 30, 2011 at 8:42 PM, John A. Sullivan III wrote: > Sorry - the VM is Windows Server 2008, client is Debian Squeeze, host is > Fedora 15 - John Actually you already wrote details about the guest in one of your previous e-mails. And in fact I have a question for that.. see below I would