Re: [Spice-devel] [PATCH] [spice-gtk v2] usb-device: Expose libusb device

2014-11-19 Thread Hans de Goede
Hi, On 11/19/2014 04:37 AM, Fabiano Fidêncio wrote: ping? Looks good to me. Regards, Hans On Thu, 2014-11-13 at 02:32 +0100, Fabiano Fidêncio wrote: As we only can filter USB devices by their Classes and sometimes it is not enough (eg: I do not want to have Keyboard and Mouse, but I

Re: [Spice-devel] snooping on usb passthrough

2014-11-19 Thread David Jaša
On Po, 2014-11-17 at 10:19 -0500, David Mansfield wrote: Hi All, Can anyone point me in the right direction for snooping on USB messages going to a windows VM either from host device passthrough or spice usb passthrough? I'd like to reverse engineer some USB speakerphone HID stuff.

[Spice-devel] [spice-gtk] Really fix SndCodec leaks in handle_{playback, record}_start

2014-11-19 Thread Christophe Fergeau
The leak fix from commit 6729c341120f was actually not doing anything at all as it was setting c-codec to NULL before trying to free it. It was also not fixing the exact same leak in the record channel. This commit addresses these 2 issues. --- gtk/channel-playback.c | 3 +-- gtk/channel-record.c

Re: [Spice-devel] [spice-gtk] Really fix SndCodec leaks in handle_{playback, record}_start

2014-11-19 Thread Marc-André Lureau
ack - Original Message - The leak fix from commit 6729c341120f was actually not doing anything at all as it was setting c-codec to NULL before trying to free it. It was also not fixing the exact same leak in the record channel. This commit addresses these 2 issues. ---

[Spice-devel] [PATCH] session: Improved docs for spice_session_connect()

2014-11-19 Thread Zeeshan Ali (Khattak)
Make it clear that users of this function must provide additional sockets for individual channels. --- gtk/spice-session.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gtk/spice-session.c b/gtk/spice-session.c index 88bcacd..cfc70bf 100644 ---

Re: [Spice-devel] [PATCH spice-gtk v2] Release keyboard grab using keyboard shortcut

2014-11-19 Thread Pavel Grunt
On Wed, Nov 12, 2014 at 10:11 AM, Pavel Grunt pgr...@redhat.com wrote: This commit adds the ability to release the keyboard grab when the release keys (ctrl+alt) are pressed and released. It allows to use keyboard shortcuts (eg alt+tab, alt+f4) on the client. The keyboard is

[Spice-devel] [PATCH spice-gtk v3] Release keyboard grab using keyboard shortcut

2014-11-19 Thread Pavel Grunt
This commit adds the ability to release the keyboard grab when the release keys (ctrl+alt) are pressed and released. It allows to use keyboard shortcuts (eg alt+tab, alt+f4) on the client. The keyboard is grabbed again when the release keys are pressed and released or when the mouse moves.

Re: [Spice-devel] Sound problems

2014-11-19 Thread Christophe Fergeau
On Mon, Nov 17, 2014 at 02:39:16PM +, Klaus Hochlehnert wrote: Ok, I did some more tests and got it working now. Instead of using Intel HDA device I switched to AC97 and installed the latest Realtek AC97 driver. I also tested celt vs. opus, but with Intel HDA devices the clicking is

Re: [Spice-devel] qemu 2.2 crash on linux hvm domU (full backtrace included)

2014-11-19 Thread Fabio Fantoni
Il 14/11/2014 12:25, Fabio Fantoni ha scritto: dom0 xen-unstable from staging git with x86/hvm: Extend HVM cpuid leaf with vcpu id and x86/hvm: Add per-vcpu evtchn upcalls patches, and qemu 2.2 from spice git (spice/next commit e779fa0a715530311e6f59fc8adb0f6eca914a89):

Re: [Spice-devel] [PATCH] session: Improved docs for spice_session_connect()

2014-11-19 Thread Marc-André Lureau
ack On Wed, Nov 19, 2014 at 1:33 PM, Zeeshan Ali (Khattak) zeesha...@gnome.org wrote: Make it clear that users of this function must provide additional sockets for individual channels. --- gtk/spice-session.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

Re: [Spice-devel] [PATCH spice-gtk v2 14/19] migration: delay switch host reconnect

2014-11-19 Thread Christophe Fergeau
On Fri, Nov 14, 2014 at 12:32:37AM +0100, Marc-André Lureau wrote: The following critical happens on switch-host: (remote-viewer:4617): GSpice-CRITICAL **: channel_connect: assertion 'c-sock == NULL' failed The critical happens since the main channel reset code calls

Re: [Spice-devel] [PATCH] [spice-gtk v2] usb-device: Expose libusb device

2014-11-19 Thread Uri Lublin
On 11/19/2014 05:37 AM, Fabiano Fidêncio wrote: ping? On Thu, 2014-11-13 at 02:32 +0100, Fabiano Fidêncio wrote: + +/** + * spice_usb_device_get_libusb_device: + * @device: #SpiceUsbDevice to get the descriptor information of + * + * Returns: (transfer none): the %libusb_device associated to

Re: [Spice-devel] [Qemu-devel] qemu 2.2 crash on linux hvm domU (full backtrace included)

2014-11-19 Thread Fabio Fantoni
Il 19/11/2014 15:56, Don Slutz ha scritto: I think I know what is happening here. But you are pointing at the wrong change. commit 9b23cfb76b3a5e9eb5cc899eaf2f46bc46d33ba4 Is what I am guessing at this time is the issue. I think that xen_enabled() is returning false in pc_machine_initfn.

Re: [Spice-devel] [Qemu-devel] qemu 2.2 crash on linux hvm domU (full backtrace included)

2014-11-19 Thread Stefano Stabellini
On Wed, 19 Nov 2014, Fabio Fantoni wrote: Il 19/11/2014 15:56, Don Slutz ha scritto: I think I know what is happening here. But you are pointing at the wrong change. commit 9b23cfb76b3a5e9eb5cc899eaf2f46bc46d33ba4 Is what I am guessing at this time is the issue. I think that

[Spice-devel] [PATCHv2] session: Improved docs for spice_session_connect()

2014-11-19 Thread Zeeshan Ali (Khattak)
Make it clear that users of this function must provide additional sockets for individual channels. --- gtk/spice-session.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gtk/spice-session.c b/gtk/spice-session.c index 88bcacd..59f45bc 100644 ---

Re: [Spice-devel] [Qemu-devel] qemu 2.2 crash on linux hvm domU (full backtrace included)

2014-11-19 Thread Stefano Stabellini
On Wed, 19 Nov 2014, Don Slutz wrote: I have posted the patch: Subject: [BUGFIX][PATCH for 2.2 1/1] hw/i386/pc_piix.c: Also pass vmport=off for xenfv machine Date: Wed, 19 Nov 2014 12:30:57 -0500 Message-ID: 1416418257-10166-1-git-send-email-dsl...@verizon.com Which fixes QEMU 2.2 for

Re: [Spice-devel] [PATCH spice-gtk v2 19/19] session: disconnect in idle

2014-11-19 Thread Christophe Fergeau
Hey, On Tue, Nov 18, 2014 at 04:41:12PM +0100, Marc-André Lureau wrote: On Tue, Nov 18, 2014 at 4:26 PM, Christophe Fergeau cferg...@redhat.com wrote: Well, no, in order to keep existing code to work, this _idle workaround was needed, then while I was not even to trying to test these

Re: [Spice-devel] Sound problems

2014-11-19 Thread Klaus Hochlehnert
I tried ICH9 and ICH6, but both devices have this clicking thing. Only AC97 worked. Klaus -Original Message- From: Christophe Fergeau [mailto:cferg...@redhat.com] Sent: Wednesday, November 19, 2014 2:07 PM To: Klaus Hochlehnert Cc: spice-devel@lists.freedesktop.org Subject: Re: