[Spice-devel] build the virt-viewer with usb support for windows

2012-12-04 Thread flooding Controlled
Hi all: I have seen lots of packages on http://elmarco.fedorapeople.org/. and I think they may be useful for the build, but I don not know how to do this, did anyone try this, could you give some help ? and another question is, in the source directory of virt-viewer-0.5.3.tar.gz, there is n

[Spice-devel] [PATCH vd_agent V3 4/4] file-xfer: Add file-xfer support for linux agent

2012-12-04 Thread Dunrong Huang
The patch makes linux agent support file-xfer feature. Signed-off-by: Dunrong Huang --- src/vdagent.c | 171 + src/vdagentd.c | 43 +++ 2 files changed, 214 insertions(+) diff --git a/src/vdagent.c b/src/vdagent.c index 0af82

[Spice-devel] [PATCH vd_agent V3 3/4] file-xfer: extend protocol for communication between server and client

2012-12-04 Thread Dunrong Huang
The new added messages correspond with vd_agent.h Signed-off-by: Dunrong Huang --- src/vdagentd-proto-strings.h | 3 +++ src/vdagentd-proto.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/vdagentd-proto-strings.h b/src/vdagentd-proto-strings.h index f39e25b..112eced 100644

[Spice-devel] [PATCH vd_agent V3 2/4] Makefile.am: Add build dependency on glib

2012-12-04 Thread Dunrong Huang
Signed-off-by: Dunrong Huang --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.am b/Makefile.am index ea72cff..3aed69a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -4,8 +4,8 @@ NULL = bin_PROGRAMS = src/spice-vdagent sbin_PROGRAMS = src/spice-vdag

[Spice-devel] [PATCH vd_agent V3 1/4] configure: Add build dependency on glib

2012-12-04 Thread Dunrong Huang
Signed-off-by: Dunrong Huang --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 68ed0e8..a420065 100644 --- a/configure.ac +++ b/configure.ac @@ -76,6 +76,7 @@ AC_ARG_ENABLE([static-uinput], [enable_static_uinput="$enableval"],

[Spice-devel] [PATCH vd_agent V3 0/4] Add file-xfer support for linux agent

2012-12-04 Thread Dunrong Huang
The patch makes linux agent support file transfer feature. V2 -> V3: * Add build dependency on glib * s/drag-and-drop/file-xfer * Use key-value text as data included in start message V1 -> V2: * New transfer protocol Dunrong Huang (4): configure: Add build dependency on glib Make

[Spice-devel] [PATCH spice-gtk V3 2/3] file-xfer: handle "drag-data-received" signal

2012-12-04 Thread Dunrong Huang
When user drags a file to SpiceDisplay and drops it, a signal named "drag-data-received" will be emitted, the signal will be received by SpiceDisplay, then our signal handler should receive data which contains file path, and call spice_main_file_xfer() to transfer file to guest. Signed-off-by: Dun

[Spice-devel] [PATCH spice-gtk V3 3/3] file-xfer: disable drag-n-dop when agent is not connected

2012-12-04 Thread Dunrong Huang
Signed-off-by: Dunrong Huang --- gtk/channel-main.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/gtk/channel-main.c b/gtk/channel-main.c index b2253a6..95f46c2 100644 --- a/gtk/channel-main.c +++ b/gtk/channel-main.c @@ -2443,6 +2443,13 @@ static void file_xfer_send_start_msg(gpoint

[Spice-devel] [PATCH spice-gtk V3 1/3] file-xfer: handling various transfer messages in main channel

2012-12-04 Thread Dunrong Huang
This patch is aimed to handle various file xfer messages. How it works: 0) our main channel introduces a API spice_main_file_xfer(). 1) When user drags a file and drop to spice client, spice client will catch a signal "drag-data-received", then it should call spice_main_file_xfer() for tran

[Spice-devel] [PATCH spice-gtk V3 0/3] simply implement of file transfer

2012-12-04 Thread Dunrong Huang
These patches simply implement file transfer from client to guest. V2 -> V3: * s/drag-and-drop/file-xfer * Use key-value text as data included in start message V1 -> V2: * Address Marc-André and hans's comments, most of the code are rewritten. * Move all file operation to the channel

Re: [Spice-devel] Native USB redirection does not work - (remote-viewer) did not claim interface 0 before use

2012-12-04 Thread Sigbjorn Lie
On Tue, December 4, 2012 14:27, Hans de Goede wrote: > Hi, > > > On 12/03/2012 09:40 PM, Sigbjorn Lie wrote: > >> On 12/02/2012 11:58 AM, Hans de Goede wrote: >> >>> Hi, >>> >>> >>> On 11/30/2012 03:40 PM, Sigbjorn Lie wrote: >>> Hi, I have disabled pcscd with chkconfig and r

Re: [Spice-devel] Native USB redirection does not work - (remote-viewer) did not claim interface 0 before use

2012-12-04 Thread Sigbjorn Lie
On Tue, December 4, 2012 14:15, David Jaša wrote: > Sigbjorn Lie píše v Út 04. 12. 2012 v 12:16 +0100: > >> >> >> On Tue, December 4, 2012 08:36, Alon Levy wrote: >> On 12/02/2012 11:58 AM, Hans de Goede wrote: > Hi, > > > > On 11/30/2012 03:40 PM, Sigbjorn

Re: [Spice-devel] [PATCH spice] server: add "port" channel support

2012-12-04 Thread Alon Levy
> A Spice port channel carry arbitrary data between the Spice client > and > the Spice server. It may be used to provide additional services on > top > of a Spice connection. For example, a channel can be associated with > the qemu monitor for the client to interact with it, just like any > qemu ch

[Spice-devel] [PATCH spice] server: add "port" channel support

2012-12-04 Thread Marc-André Lureau
A Spice port channel carry arbitrary data between the Spice client and the Spice server. It may be used to provide additional services on top of a Spice connection. For example, a channel can be associated with the qemu monitor for the client to interact with it, just like any qemu chardev. Or it m

Re: [Spice-devel] Native USB redirection does not work - (remote-viewer) did not claim interface 0 before use

2012-12-04 Thread Hans de Goede
Hi, On 12/03/2012 09:40 PM, Sigbjorn Lie wrote: On 12/02/2012 11:58 AM, Hans de Goede wrote: Hi, On 11/30/2012 03:40 PM, Sigbjorn Lie wrote: Hi, I have disabled pcscd with chkconfig and rebooted. After the reboot I attempted to connect to the VDI and share my smart card reader again. The sa

Re: [Spice-devel] [PATCH spice 2/2] server: add "port" channel support

2012-12-04 Thread Hans de Goede
Hi, On 12/03/2012 07:37 PM, Marc-André Lureau wrote: Hi Hans, On Sun, Dec 2, 2012 at 12:26 PM, Hans de Goede mailto:hdego...@redhat.com>> wrote: I think that you also need to change spicevmc_red_channel_alloc_msg_rcv_buf, because now it will allocate a spice_char_device_write_buffer t

Re: [Spice-devel] Native USB redirection does not work - (remote-viewer) did not claim interface 0 before use

2012-12-04 Thread David Jaša
Sigbjorn Lie píše v Út 04. 12. 2012 v 12:16 +0100: > > > On Tue, December 4, 2012 08:36, Alon Levy wrote: > >> On 12/02/2012 11:58 AM, Hans de Goede wrote: > >> > >>> Hi, > >>> > >>> > >>> On 11/30/2012 03:40 PM, Sigbjorn Lie wrote: > >>> > Hi, > > > I have disabled pcscd with

Re: [Spice-devel] Native USB redirection does not work - (remote-viewer) did not claim interface 0 before use

2012-12-04 Thread Alon Levy
> > > > On Tue, December 4, 2012 08:36, Alon Levy wrote: > >> On 12/02/2012 11:58 AM, Hans de Goede wrote: > >> > >>> Hi, > >>> > >>> > >>> On 11/30/2012 03:40 PM, Sigbjorn Lie wrote: > >>> > Hi, > > > I have disabled pcscd with chkconfig and rebooted. After the > reboot

Re: [Spice-devel] Windows USB-Redirection support

2012-12-04 Thread flooding Controlled
Is there any steps to describe how to do this ? Thanks a lot. 2012/12/4 mzawdx wang > maybe the usbredir for windows now is only support USB1.1, but not USB 2.0 > yet, right ? > > > > 2012/11/28 Goktug YILDIRIM > >> Thanks for the information. >> >> On Wed, Nov 28, 2012 at 10:44 AM, Uri Lublin

Re: [Spice-devel] Native USB redirection does not work - (remote-viewer) did not claim interface 0 before use

2012-12-04 Thread Sigbjorn Lie
On Tue, December 4, 2012 08:36, Alon Levy wrote: >> On 12/02/2012 11:58 AM, Hans de Goede wrote: >> >>> Hi, >>> >>> >>> On 11/30/2012 03:40 PM, Sigbjorn Lie wrote: >>> Hi, I have disabled pcscd with chkconfig and rebooted. After the reboot I attempted to connect to the V