Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-01-18 Thread Vadim Rozenfeld
On Mon, 2012-01-16 at 19:50 -0600, Michael Roth wrote: On 01/15/2012 08:02 PM, Charles.Tsai-蔡清海-研究發展部 wrote: Vadim, Thank you for your prompt reply. Here are the information for our test case. 1) we use the following command line to launch the guest OS /usr/bin/kvm -S -M pc-0.14

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Alon Levy
On Wed, Jan 18, 2012 at 08:06:40AM +0100, Dominique Rodrigues wrote: Hi, Since I use qxl driver in virtual desktop powered by qemu-kvm, I found a strange problem with Gimp. After launching Gimp, open a new windows, and then try to draw something. It appears that the drawing is very slow

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Dominique Rodrigues
Le 18/01/2012 09:44, Alon Levy a écrit : On Wed, Jan 18, 2012 at 08:06:40AM +0100, Dominique Rodrigues wrote: Hi, Since I use qxl driver in virtual desktop powered by qemu-kvm, I found a strange problem with Gimp. After launching Gimp, open a new windows, and then try to draw something. It

[Spice-devel] [PATCH spice] server: Don't complain if setsockopt NODELAY fails on unix sockets

2012-01-18 Thread Hans de Goede
With Daniel P. Berrange's patches to allow use of pre-supplied fd's as channels, we can no longer be sure that our connections are TCP sockets, so it makes no sense to complain if a TCP/IP specific setsockopt fails with an errno of ENOTSUP. Note that this extends Daniel's commit

Re: [Spice-devel] Intend to release spice-0.10.1

2012-01-18 Thread Hans de Goede
Hi, On 01/12/2012 05:47 PM, Daniel P. Berrange wrote: On Thu, Jan 12, 2012 at 05:44:23PM +0100, Hans de Goede wrote: Hi, I intend to release a spice-0.10.1 soon to get the accumulated assorted fixes out there. I intend to go over the commits in master and cherry pick all commits which are

Re: [Spice-devel] [PATCH spice] server: Don't complain if setsockopt NODELAY fails on unix sockets

2012-01-18 Thread Daniel P. Berrange
On Wed, Jan 18, 2012 at 10:50:08AM +0100, Hans de Goede wrote: With Daniel P. Berrange's patches to allow use of pre-supplied fd's as channels, we can no longer be sure that our connections are TCP sockets, so it makes no sense to complain if a TCP/IP specific setsockopt fails with an errno of

[Spice-devel] version SPICEGTK_1 not defined in file libspice-client-gtk-2.0.so.1 with link time reference

2012-01-18 Thread Dominique Rodrigues
Hi, I compiled spice-gtk-0.8 with the following options : ./configure --with-gtk=2.0 --with-coroutine=ucontext --with-sasl=yes --with-audio=pulse --enable-introspection=no --enable-smartcard=no --enable-usbredir=no make and make install ran fine.

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Alon Levy
On Wed, Jan 18, 2012 at 09:54:49AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 09:44, Alon Levy a écrit : On Wed, Jan 18, 2012 at 08:06:40AM +0100, Dominique Rodrigues wrote: Hi, Since I use qxl driver in virtual desktop powered by qemu-kvm, I found a strange problem with Gimp.

[Spice-devel] Last call for patches for spice-0.10.1

2012-01-18 Thread Hans de Goede
Hi, $subject says it all. I plan to roll a 0.10.1 tarbal soon, containing everything which is currently in master, to that purpose I've merged master into the 0.10 branch. So if you've any patches you want to get in, let me know ASAP. Note I accidentally already pushed the result of the merge

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Dominique Rodrigues
Le 18/01/2012 11:18, Alon Levy a écrit : On Wed, Jan 18, 2012 at 09:54:49AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 09:44, Alon Levy a écrit : On Wed, Jan 18, 2012 at 08:06:40AM +0100, Dominique Rodrigues wrote: Hi, Since I use qxl driver in virtual desktop powered by qemu-kvm, I

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Alon Levy
On Wed, Jan 18, 2012 at 11:27:14AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 11:18, Alon Levy a écrit : On Wed, Jan 18, 2012 at 09:54:49AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 09:44, Alon Levy a écrit : On Wed, Jan 18, 2012 at 08:06:40AM +0100, Dominique Rodrigues wrote: Hi,

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Dominique Rodrigues
Le 18/01/2012 11:32, Alon Levy a écrit : On Wed, Jan 18, 2012 at 11:27:14AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 11:18, Alon Levy a écrit : On Wed, Jan 18, 2012 at 09:54:49AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 09:44, Alon Levy a écrit : On Wed, Jan 18, 2012 at

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Dominique Rodrigues
Le 18/01/2012 11:48, Alon Levy a écrit : On Wed, Jan 18, 2012 at 11:39:13AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 11:32, Alon Levy a écrit : On Wed, Jan 18, 2012 at 11:27:14AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 11:18, Alon Levy a écrit : On Wed, Jan 18, 2012 at

[Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Gianluca Cecchi
After today updates on my F16 host it seems I'm not able to start vdagent inside my 32bit windows 7. One relevant update was for kernel, from 3.1.7-1.fc16.x86_64 to to 3.1.9-1.fc16.x86_64 no updates for libvirt/qemu/spice agent is from windows-32-2024 on host: $ rpm -qa|egrep

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread David Jaša
Alon Levy píše v St 18. 01. 2012 v 12:18 +0200: On Wed, Jan 18, 2012 at 09:54:49AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 09:44, Alon Levy a écrit : On Wed, Jan 18, 2012 at 08:06:40AM +0100, Dominique Rodrigues wrote: Hi, Since I use qxl driver in virtual desktop powered by

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Arnon Gilboa
Thanks for the update. Few questions: 1. Looking at windows device manager, is there any error reported for the virtio-serial driver? 2. Is the error reproduced only on startup, or also when you start the vdservice (RHEV Spice Agent) manually when the machine is up? 3. Is it reproduced for

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Gianluca Cecchi
On Wed, Jan 18, 2012 at 2:21 PM, Arnon Gilboa wrote: Thanks for the update. Few questions: 1. Looking at windows device manager, is there any error reported for the virtio-serial driver? 2. Is the error reproduced only on startup, or also when you start the vdservice (RHEV Spice Agent)

[Spice-devel] [PATCH spice-gtk 1/2] gtk-session: ignore destroy of outdated main channel

2012-01-18 Thread Marc-André Lureau
This solves clipboard sharing not working with a password protected server, since new main channel are created for each connection attempt. --- gtk/spice-gtk-session.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/gtk/spice-gtk-session.c b/gtk/spice-gtk-session.c

[Spice-devel] [PATCH spice-gtk 2/2] gtk-session: weak reference the session for clipboard cb

2012-01-18 Thread Marc-André Lureau
It seems Gtk is lacking a way to cancel a gtk_clipboard_request_*(). Although it seems like gtk_selection_remove_all() would solve that problem, it will have nasty effect of destroying other pending requests from others.. Let's make use of an extra weak reference object that will be nulled when

Re: [Spice-devel] [PATCH spice-gtk 1/2] gtk-session: ignore destroy of outdated main channel

2012-01-18 Thread Hans de Goede
Hi, Both look good to me, ack-series. Regards, Hans On 01/18/2012 03:12 PM, Marc-André Lureau wrote: This solves clipboard sharing not working with a password protected server, since new main channel are created for each connection attempt. --- gtk/spice-gtk-session.c |3 ++- 1 files

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Arnon Gilboa
Vadim, I think you have reproduced the same (VirtioVDIPort::init::CreateFile() failed: 2). Do you have any idea? it is not repro on linux guests. Thanks, Arnon Gianluca Cecchi wrote: After today updates on my F16 host it seems I'm not able to start vdagent inside my 32bit windows 7. One

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Arnon Gilboa
Vadim, I think you have reproduced the same (VirtioVDIPort::init::CreateFile() failed: 2). Do you have any idea? it is not repro on linux guests. Thanks, Arnon Gianluca Cecchi wrote: After today updates on my F16 host it seems I'm not able to start vdagent inside my 32bit windows 7. One

Re: [Spice-devel] [PATCH spice-gtk 2/2] gtk-session: weak reference the session for clipboard cb

2012-01-18 Thread Marc-André Lureau
On Wed, Jan 18, 2012 at 3:12 PM, Marc-André Lureau marcandre.lur...@gmail.com wrote: +    g_object_weak_unref(weakref-object, (GWeakNotify)weak_notify_cb, weakref); I am adding a if (weakref-object) check here, because the object may be nulled already. -- Marc-André Lureau

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Arnon Gilboa
Hi Gianluca, Can you please try to reproduce on win xp guest? CC'ing Vadim (virtio-serial windows driver) to the thread. On Wed, Jan 18, 2012 at 2:21 PM, Arnon Gilboa wrote: Thanks for the update. Few questions: 1. Looking at windows device manager, is there any error reported for the

Re: [Spice-devel] [PATCH spice-gtk 1/2] Change the setting of the images cache size and the glz window size

2012-01-18 Thread Alon Levy
On Mon, Jan 16, 2012 at 06:15:08PM +0200, Yonit Halperin wrote: Set the default sizes to be the same as in the old linux spice client. cache_size=20M pixels (instead of 32M), window_size=8M pixels for a 64MB dev ram (instead of 16M pixels). --- gtk/channel-display-priv.h |2 -

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Alon Levy
On Wed, Jan 18, 2012 at 03:07:37PM +0100, Gianluca Cecchi wrote: On Wed, Jan 18, 2012 at 2:21 PM, Arnon Gilboa wrote: Thanks for the update. Few questions: 1. Looking at windows device manager, is there any error reported for the virtio-serial driver? 2. Is the error reproduced only on

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Arnon Gilboa
This seems like a different bug, which was already encountered by others in the list. I will continue trying to repro/fix both bugs, and update you accordingly. Vadim - please update regarding the driver. Gianluca Cecchi wrote: On Wed, Jan 18, 2012 at 3:41 PM, Arnon Gilboa wrote: Hi

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Gianluca Cecchi
On Wed, Jan 18, 2012 at 3:52 PM, Alon Levy wrote: Can you, as administrator in the guest: 1.  net stop vdservice  rm c:\windows\temp\vd*.log  net start vdservice  # I assume it fails here  type c:\windows\temp\vdservice.log | find CreateFile 2. Can you get winobj

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread John A. Sullivan III
On Wed, 2012-01-18 at 10:44 +0200, Alon Levy wrote: On Wed, Jan 18, 2012 at 08:06:40AM +0100, Dominique Rodrigues wrote: Hi, Since I use qxl driver in virtual desktop powered by qemu-kvm, I found a strange problem with Gimp. After launching Gimp, open a new windows, and then try to

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Alon Levy
On Wed, Jan 18, 2012 at 10:26:44AM -0500, John A. Sullivan III wrote: On Wed, 2012-01-18 at 10:44 +0200, Alon Levy wrote: On Wed, Jan 18, 2012 at 08:06:40AM +0100, Dominique Rodrigues wrote: Hi, Since I use qxl driver in virtual desktop powered by qemu-kvm, I found a strange

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Alon Levy
On Wed, Jan 18, 2012 at 04:06:51PM +0100, Gianluca Cecchi wrote: On Wed, Jan 18, 2012 at 3:52 PM, Alon Levy wrote: Can you, as administrator in the guest: 1.  net stop vdservice  rm c:\windows\temp\vd*.log  net start vdservice  # I assume it fails here  type

Re: [Spice-devel] spice vdagent in windows 7 32bit doesn't start on f16 after today update

2012-01-18 Thread Vadim Rozenfeld
- Original Message - From: Arnon Gilboa agil...@redhat.com To: Vadim Rozenfeld vroze...@redhat.com Cc: Gianluca Cecchi gianluca.cec...@gmail.com, spice-devel@lists.freedesktop.org Sent: Wednesday, January 18, 2012 4:34:27 PM Subject: Re: [Spice-devel] spice vdagent in windows 7 32bit

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Scott Dowdle
John, - Original Message - I believe I had reported a similar issue many months go where just about any X activity drove our Fedora based CPU through the roof though Windows was fine. At the time, I thought you mentioned it was a driver issue A specific GIMP issue and any X activity

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Alon Levy
On Wed, Jan 18, 2012 at 11:59:45AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 11:48, Alon Levy a écrit : On Wed, Jan 18, 2012 at 11:39:13AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 11:32, Alon Levy a écrit : On Wed, Jan 18, 2012 at 11:27:14AM +0100, Dominique Rodrigues wrote: Le

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Dominique Rodrigues
Le 18/01/2012 17:43, Alon Levy a écrit : On Wed, Jan 18, 2012 at 11:59:45AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 11:48, Alon Levy a écrit : On Wed, Jan 18, 2012 at 11:39:13AM +0100, Dominique Rodrigues wrote: Le 18/01/2012 11:32, Alon Levy a écrit : On Wed, Jan 18, 2012 at

Re: [Spice-devel] Delay in Gimp when using qxl driver

2012-01-18 Thread Soeren Sandmann
Yes, so here is another timing from ssh login on the VM : PerfTop: 686 irqs/sec kernel: 0.4% exact: 0.0% [1000Hz cpu-clock], (all, 1 CPU) -- samples pcnt function

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-01-18 Thread Charles . Tsai-蔡清海-研究發展部
Vadim, I tested on Qemu 1.0.50. and found the VioSerial driver had problem to install on 64-bit Win7 guest. During the driver installation, the system hung after the driver being installed. After I rebooted the guest OS, the Vioserial driver work. The hang system seemed to be found only during