Re: [Spice-devel] winspice: a windows spice server similar to x11spice

2021-08-05 Thread Dunrong Huang
Hi, On Thu, Aug 5, 2021 at 6:25 PM Frediano Ziglio wrote: > Hi, > > Il giorno lun 2 ago 2021 alle ore 15:22 Dunrong Huang < > riegama...@gmail.com> ha scritto: > >> Hi Frediano, thanks for you reply >> >> On Mon, Aug 2, 2021 at 8:14 PM Frediano Ziglio &g

Re: [Spice-devel] winspice: a windows spice server similar to x11spice

2021-08-02 Thread Dunrong Huang
Hi Frediano, thanks for you reply On Mon, Aug 2, 2021 at 8:14 PM Frediano Ziglio wrote: > Il giorno dom 1 ago 2021 alle ore 16:07 Dunrong Huang < > riegama...@gmail.com> ha scritto: > >> Hello everyone, >> >> > Hi Dunrong, > > Inspired by x11spice, i

[Spice-devel] winspice: a windows spice server similar to x11spice

2021-08-01 Thread Dunrong Huang
, such as no configurable ui interface, no sound support, and so on. If anyone can try this project and give me some feedback, I will be very happy. -- Best Regards, Dunrong Huang

[Spice-devel] [PATCH spice-server] Fix _FORTIFY_SOURCE redefine error

2013-09-06 Thread Dunrong Huang
of the previous definition Suggested-by: Christophe Fergeau Signed-off-by: Dunrong Huang --- m4/spice-compile-warnings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/spice-compile-warnings.m4 b/m4/spice-compile-warnings.m4 index 959971a..31f2a9c 100644 --- a/m4/spice-comp

[Spice-devel] [PATCH spice-gtk] Fix _FORTIFY_SOURCE redefine error

2013-09-06 Thread Dunrong Huang
ious definition Suggested-by: Christophe Fergeau Signed-off-by: Dunrong Huang --- m4/spice-compile-warnings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/spice-compile-warnings.m4 b/m4/spice-compile-warnings.m4 index 31fc0fc..533bac6 100644 --- a/m4/spice-compile-warni

Re: [Spice-devel] [PATCH 2/3] Handle VDAgentDisplayConfig message in vdagentd, send it to active vdagent

2013-07-29 Thread Dunrong Huang
Hi, On Tue, Jul 30, 2013 at 5:00 AM, Fedor Lyakhov wrote: > Hi, Dunrong > > Thanks for the review, my comments inline. > > On Mon, Jul 29, 2013 at 6:58 AM, Dunrong Huang > wrote: > > Hi, > > > > > > On Mon, Jul 29, 2013 at 4:43 AM, Fedor Lyakhov &

Re: [Spice-devel] [PATCH 3/3] Handle VDAgentDisplayConfig in vdagent for Gnome3 using GSettings API from GIO 2.26+

2013-07-28 Thread Dunrong Huang
in configure.ac, then decide whether to enable VDAgentDisplayConfig feature or not. > +PKG_CHECK_MODULES([GIO2], [gio-2.0 >= 2.26]) > PKG_CHECK_MODULES(X, [xfixes xrandr >= 1.3 xinerama x11]) > PKG_CHECK_MODULES(SPICE, [spice-protocol >= 0.12.5]) > > -- Best Regards, Dunrong Huang Homepage: http://mathslinux.org ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

Re: [Spice-devel] [PATCH 2/3] Handle VDAgentDisplayConfig message in vdagentd, send it to active vdagent

2013-07-28 Thread Dunrong Huang
LAY_CONFIG: > +if (message_header->size < sizeof(VDAgentDisplayConfig)) > +goto size_error; > +do_client_display(vport, port_nr, message_header, > + (VDAgentDisplayConfig *)data); > case VD_AGENT_ANNOUNCE_CAPABILITIES: >

Re: [Spice-devel] how image is rendered on client side

2013-07-09 Thread Dunrong Huang
ts.freedesktop.org/mailman/listinfo/spice-devel > > -- Best Regards, Dunrong Huang Homepage: http://mathslinux.org ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

Re: [Spice-devel] Low SPICE performance on ARM(Cortex A8 and Raspberry Pi) or Atom

2013-06-27 Thread Dunrong Huang
glibc support it) I built spice-gtk --with-x11 on my raspberry PI but it did not improve too much(I guess this is due to the lack of accelrated X driver on RSP) -- Best Regards, Dunrong Huang Homepage: http://mathslinux.org ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

Re: [Spice-devel] New SPICE client for Android

2013-06-10 Thread Dunrong Huang
> Sincerely, > iordan iordanov > > -- > The conscious mind has only one thread of execution. > > > ___ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel > > -- Best Regards,

Re: [Spice-devel] Spice test day Review

2013-06-07 Thread Dunrong Huang
On Fri, Jun 7, 2013 at 10:58 PM, Jeremy White wrote: > > Thank you everybody who was involved! > > > > I'd also like to give special credits here to: > > * Dunrong Huang, who single-handedly contributed whole file-transfer > feature > > * folks at Codew

Re: [Spice-devel] [SPICE-GTK] how to build spice-gtk in window?

2013-05-09 Thread Dunrong Huang
s/spice-devel/2012-November/011563.html > > Tks. > > ___ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel > > -- Best Regards, Dunrong Huang

Re: [Spice-devel] spice-vdagent on Ovirt 3.1

2013-05-07 Thread Dunrong Huang
t; > qemu-kvm-0.12.1.2-2.295.el6x86_64 > > spice-server-0.12.0-12.el6x86_64 > > ** ** > > Guest OS: RHEL 5.8 (kernel 2.6.18-308.el5.x86_64) > > spice-vdagent-0.10.1-1.el5 > > ** ** > > ** ** > > > -- Best Regards, Dunrong Huang

Re: [Spice-devel] 回复: any dev plan for NVIDIA GRID

2013-04-25 Thread Dunrong Huang
原始邮件 ------ > *发件人:* "Dunrong Huang"; > *发送时间:* 2013年4月25日(星期四) 下午3:37 > *收件人:* "李彪"; ** > *抄送:* "spice-devel"; ** > *主题:* Re: [Spice-devel] any dev plan for NVIDIA GRID > > > > > On Thu, Apr 25, 2013 at 1:30

Re: [Spice-devel] any dev plan for NVIDIA GRID

2013-04-25 Thread Dunrong Huang
p://lists.freedesktop.org/mailman/listinfo/spice-devel > > -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] [PATCH spice-gtk] spice-channel: Do not segfault fault if peer_msg was a NULL pointer

2013-03-11 Thread Dunrong Huang
r_msg may be a NULL pointer if we got a error in spice_channel_recv_link_hdr(). This patch fixes this error. Signed-off-by: Dunrong Huang --- gtk/spice-channel.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/gtk/spice-channel.c b/gtk/spice-channel.c index ce1

Re: [Spice-devel] [PATCH spice-gtk 03/15] spice-widget: fix file drag-n-drop mime-type

2013-03-09 Thread Dunrong Huang
Hi, On Sat, Mar 9, 2013 at 11:23 PM, Hans de Goede wrote: > Hi, > > > On 03/09/2013 04:08 PM, Dunrong Huang wrote: >> >> On Sat, Mar 9, 2013 at 7:06 PM, Hans de Goede wrote: >>> >>> Currently the user can drag-drop text onto the widget, and it will tr

Re: [Spice-devel] [PATCH spice-gtk 03/15] spice-widget: fix file drag-n-drop mime-type

2013-03-09 Thread Dunrong Huang
ious version. This patch really fixes it. Tested-by: ... > d = display->priv = SPICE_DISPLAY_GET_PRIVATE(display); > > -- > 1.8.1.4 > > ___ > Spice-devel mailing list > Spice-devel@lists.fr

Re: [Spice-devel] 回复: spice client migrate to Android & IOS plateform

2013-03-08 Thread Dunrong Huang
On Fri, Mar 8, 2013 at 6:37 PM, 李彪 wrote: > > > > -- 原始邮件 ------ > 发件人: "Dunrong Huang"; > 发送时间: 2013年3月8日(星期五) 晚上6:24 > 收件人: "李彪"; > 抄送: "spice-devel"; > 主题: Re: [Spice-devel] spice client migrate to Android &am

Re: [Spice-devel] spice client migrate to Android & IOS plateform

2013-03-08 Thread Dunrong Huang
p.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel > -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

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

2013-01-31 Thread Dunrong Huang
Hi, On Thu, Jan 31, 2013 at 5:13 PM, Hans de Goede wrote: > Hi, > > > On 01/30/2013 03:30 PM, Marc-André Lureau wrote: >> >> Hi, >> >> It looks pretty ready to me, just a few things: >> >> On Wed, Jan 30, 2013 at 12:51 PM, Dunrong Huang >> w

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

2013-01-30 Thread Dunrong Huang
Sorry for the wrong title, it should be "[PATCH vd_agent V4 3/4]", not "[PATCH vd_agent V3 3/4]" On Wed, Jan 30, 2013 at 7:51 PM, Dunrong Huang wrote: > The new added messages correspond with vd_agent.h > > Signed-off-by: Dunrong Huang > --- > src/vdag

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

2013-01-30 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 20e1b82..68afb4e 100644 --- a/configure.ac +++ b/configure.ac @@ -76,6 +76,7 @@ AC_ARG_ENABLE([static-uinput], [enable_static_uinput="$enab

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

2013-01-30 Thread Dunrong Huang
The patch makes linux agent support file-xfer feature. Signed-off-by: Dunrong Huang --- src/vdagent.c | 173 + src/vdagentd.c | 43 ++ 2 files changed, 216 insertions(+) diff --git a/src/vdagent.c b/src/vdagent.c index

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

2013-01-30 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 V4 2/4] Makefile.am: Add build dependency on glib

2013-01-30 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

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

2013-01-30 Thread Dunrong Huang
ile-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 Makefile.am: Add build dependency on glib file-xfer: extend protocol for communication between server and client file-xfer: A

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

2013-01-18 Thread Dunrong Huang
Hi, thank you for your review On Wed, Jan 16, 2013 at 9:29 PM, Marc-André Lureau wrote: > Hi > > On Wed, Dec 5, 2012 at 5:27 AM, Dunrong Huang wrote: >> The patch makes linux agent support file-xfer feature. >> >> Signed-off-by: Dunrong Huang >

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

2013-01-09 Thread Dunrong Huang
On Thu, Jan 10, 2013 at 9:21 AM, Marc-André Lureau wrote: > Hi > > On Sat, Jan 5, 2013 at 11:59 AM, Dunrong Huang wrote: >> V4 -> V5: >>* Imporve error report >>* Add spice_main_file_copy_finish() function. >>* Some code cleanup. (e.g.

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

2013-01-08 Thread Dunrong Huang
Marc-André: ping? Are you happy with these patches, can they be applied? On Sat, Jan 5, 2013 at 6:59 PM, Dunrong Huang wrote: > These are the fifth version of patches which implement file transfer from > client to guest. > > V4 -> V5: >* Only update first patch >*

[Spice-devel] [PATCH spice-gtk V5 3/3] file-xfer: disable file-xfer when agent is not connected

2013-01-05 Thread Dunrong Huang
Signed-off-by: Dunrong Huang --- gtk/channel-main.c | 4 1 file changed, 4 insertions(+) diff --git a/gtk/channel-main.c b/gtk/channel-main.c index e23d67d..5221b0a 100644 --- a/gtk/channel-main.c +++ b/gtk/channel-main.c @@ -2712,10 +2712,14 @@ void spice_main_file_copy_async

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

2013-01-05 Thread Dunrong Huang
Signed-off-by: Dunrong Huang --- gtk/spice-widget.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index a8d3ce9..17adf8f 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -464,14 +464,60 @@ stati

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

2013-01-05 Thread Dunrong Huang
t for each file, and return to caller. 3) According to the response message sent from guest, our main channel decides whether send more data, or cancel this xfer task. 4) When file transfer has finished, file xfer task will be removed from task list. Signed-off-by: Dunrong Huang --

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

2013-01-05 Thread Dunrong Huang
27;s work * Only export a single API spice_main_file_xfer() Dunrong Huang (3): file-xfer: handling various transfer messages in main channel file-xfer: handle "drag-data-received" signal file-xfer: disable file-xfer when agent is not conn

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

2013-01-04 Thread Dunrong Huang
Hi, On Fri, Jan 4, 2013 at 9:43 PM, Marc-André Lureau wrote: > Hi > > On Fri, Jan 4, 2013 at 9:34 AM, Dunrong Huang wrote: >> spice_main_file_copy_async() was designed to copy multi-files at a >> time, which I think is a little unreasonable: >> >> 1) If someth

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

2013-01-04 Thread Dunrong Huang
Hi, thanks for your review. On Tue, Jan 1, 2013 at 1:51 AM, Marc-André Lureau wrote: > > Hi! > > On Fri, Dec 28, 2012 at 2:33 PM, Dunrong Huang wrote: >> >> Agent channel is a flow-control channel. That means before >> we send agent data to server, we must obt

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

2012-12-28 Thread Dunrong Huang
I know there are muck work to be done, e.g. progress bar. Those work can be continued after first patch be commited. On Fri, Dec 28, 2012 at 9:33 PM, Dunrong Huang wrote: > When user drags a file to SpiceDisplay and drops it, a signal named > "drag-data-received" will be emitted,

[Spice-devel] [PATCH spice-gtk V4 3/3] file-xfer: disable file-xfer when agent is not connected

2012-12-28 Thread Dunrong Huang
Signed-off-by: Dunrong Huang --- gtk/channel-main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/channel-main.c b/gtk/channel-main.c index b1496bd..b045c3a 100644 --- a/gtk/channel-main.c +++ b/gtk/channel-main.c @@ -2701,11 +2701,14 @@ void spice_main_file_copy_async

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

2012-12-28 Thread Dunrong Huang
Signed-off-by: Dunrong Huang --- gtk/spice-widget.c | 46 ++ 1 file changed, 46 insertions(+) diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index a8d3ce9..17adf8f 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -464,14 +464,60 @@ stati

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

2012-12-28 Thread Dunrong Huang
t for each file, and return to caller. 3) According to the response message sent from guest, our main channel decides whether send more data, or cancel this xfer task. 4) When file transfer has finished, file xfer task will be removed from task list. Signed-off-by: Dunrong Huang --

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

2012-12-28 Thread Dunrong Huang
e glib API for file operations * spice protocol related file transfer has been extended for the future's work * Only export a single API spice_main_file_xfer() Dunrong Huang (3): file-xfer: handling various transfer messages in main channel file-xfer: handle "drag-data-received"

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

2012-12-18 Thread Dunrong Huang
Hi On Fri, Dec 7, 2012 at 7:45 PM, Marc-André Lureau wrote: > Hi > > On Wed, Dec 5, 2012 at 5:22 AM, Dunrong Huang wrote: >> >> This patch is aimed to handle various file xfer messages. >> >> How it works: >> 0) our main channel introduces a API spic

[Spice-devel] [PATCH spice-gtk] spice-widget: Fix rendering issue with X11 backend enabled

2012-12-05 Thread Dunrong Huang
/spicy -h host -p port Signed-off-by: Dunrong Huang --- gtk/spice-widget.c | 4 1 file changed, 4 insertions(+) diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index a9f0577..a8d3ce9 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -482,7 +482,11 @@ static void

[Spice-devel] [PATCH vdagent 2/2] vdagentd: Fix building warning

2012-12-05 Thread Dunrong Huang
Move some variable declarations to right place. Signed-off-by: Dunrong Huang --- src/vdagentd.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/vdagentd.c b/src/vdagentd.c index 7006d80..a51ac4c 100644 --- a/src/vdagentd.c +++ b/src/vdagentd.c @@ -510,10

[Spice-devel] [PATCH vdagent 1/2] vdagent-x11-randr: Fix building warning

2012-12-05 Thread Dunrong Huang
This patch can be safely applied since it just deletes unused variables. Signed-off-by: Dunrong Huang --- src/vdagent-x11-randr.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/vdagent-x11-randr.c b/src/vdagent-x11-randr.c index 2c1819a..e171e7a 100644 --- a/src

[Spice-devel] [PATCH vdagent 0/2] Trivial building fix

2012-12-05 Thread Dunrong Huang
These two patches fix some building warning: 1) Delete unused variables. 2) Move some variable declarations to right place. Dunrong Huang (2): vdagent-x11-randr: Fix building warning vdagentd: Fix building warning src/vdagent-x11-randr.c | 8 +--- src/vdagentd.c | 12

[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

[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

[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="$enab

[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 o

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

2012-12-04 Thread Dunrong Huang
ned-off-by: Dunrong Huang --- gtk/spice-widget.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index a9f0577..8073b87 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -464,14 +464,56 @@ stati

[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

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

2012-12-04 Thread Dunrong Huang
return to caller. 3) According to the response message sent from guest, our main channel decides whether send more data, or cancel this xfer task. 4) When file transfer has finished, file xfer task will be removed from task list. Signed-off-by: Dunrong Huang --- gtk/channel-main.c

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

2012-12-04 Thread Dunrong Huang
the channel level * Use glib API for file operations * spice protocol related file transfer has been extended for the future's work * Only export a single API spice_main_file_xfer() Dunrong Huang (3): file-xfer: handling various transfer messages in main channel file-xfer: h

Re: [Spice-devel] [PATCH spice-protocol V3] vd_agent.h: drag-and-drop support

2012-11-29 Thread Dunrong Huang
; guest direction. But we could have a menu >> > entry where a file open dialog gets shown too, etc. >> > >> > And purely as a file transfer protocol I see no problems with using >> > this in the other direction either. Now for a UI for the other >> > direct

Re: [Spice-devel] [PATCH spice-protocol V3] vd_agent.h: drag-and-drop support

2012-11-28 Thread Dunrong Huang
difficult for agent(or impossibility?) I need to do some research about how virtualbox implement this. -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] [PATCH spice-protocol V3] vd_agent.h: drag-and-drop support

2012-11-28 Thread Dunrong Huang
ed-off-by: Dunrong Huang Cc: Hans de Goede Cc: Marc-André Lureau Cc: Alon Levy Cc: Uri Lublin --- V2 -> V3: * Use key-value text as data included in start message * s/VD_AGENT_FILE_XFER_RESULT_/VD_AGENT_FILE_XFER_STATUS_/ s/VD_AGENT_FILE_XFER_RE

Re: [Spice-devel] [PATCH spice-protocol V2] vd_agent.h: drag-and-drop support

2012-11-28 Thread Dunrong Huang
ze :-). And yes, you are right, we do not need this filed. >> >> Hans and Marc-André, >> >> Whether patch V3 is welcome or not, or something need to be >> >> discussed? >> > >> > >> > I believe a v3 is welcome, but lets wait for Marc-André's input. >> > >> Marc-André, any suggestion? > > Any further iteration is always welcome! > > thanks again -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

Re: [Spice-devel] [PATCH spice-protocol V2] vd_agent.h: drag-and-drop support

2012-11-27 Thread Dunrong Huang
agreement to just use glibs keyfile code for this, > the client and the linux agent already use glib so it makes sense > to start using glib in the windows agent too, rather then adding some > other new dependency to all 3. > > >> Hans

Re: [Spice-devel] [PATCH spice-protocol V2] vd_agent.h: drag-and-drop support

2012-11-26 Thread Dunrong Huang
Hi, 2012/11/23 Hans de Goede : > Hi Dunrong Huang, > > Thanks for your continued work on this! > > And sorry that we keep tweaking the protocol, but getting the > protocol right is very important as we cannot change that later. > I know it and very agree with you, :-) The fo

Re: [Spice-devel] [PATCH spice-protocol V2] vd_agent.h: drag-and-drop support

2012-11-23 Thread Dunrong Huang
to do. >> >> This feature has been discussed on spice mailing list. >> >> The more details are available at following pages: >> http://lists.freedesktop.org/archives/spice-devel/2012-November/011400.html >> and >> http://lists.freedesktop.org/archives/spice-de

Re: [Spice-devel] [RFC] [PATCH spice-protocol] DND: Add VD_AGENT_DND_*

2012-11-23 Thread Dunrong Huang
ut, which will then caused the >file xfer code to get called for more data when the agent queue is >empty > > This way we can have multiple file transfers going at the same time, > and keep copy and paste (and other agent messages) working while > a file is being transf

[Spice-devel] [PATCH vd_agent V2] drag-n-drop: Add drag-and-drop support for linux agent

2012-11-23 Thread Dunrong Huang
The patch makes linux agent support drag-n-drop feature. Signed-off-by: Dunrong Huang --- V1 -> V2: * New transfer protocol src/vdagent.c | 153 + src/vdagentd.c | 44 + 2 files changed, 197 insertions(+) d

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

2012-11-23 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 3ea3958..efbed15 100644 --- a/gtk/channel-main.c +++ b/gtk/channel-main.c @@ -2447,6 +2447,13 @@ static void file_xfer_send_start_msg

[Spice-devel] [PATCH spice-gtk V2 2/3] drag-n-drop: handle "drag-data-received" signal

2012-11-23 Thread Dunrong Huang
ned-off-by: Dunrong Huang --- gtk/spice-widget.c | 42 ++ 1 file changed, 42 insertions(+) diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c index cdcff03..8e5e412 100644 --- a/gtk/spice-widget.c +++ b/gtk/spice-widget.c @@ -464,14 +464,56 @@ stati

[Spice-devel] [PATCH spice-gtk V2 1/3] drag-n-drop: handling various transfer messages in main channel

2012-11-23 Thread Dunrong Huang
caller. 3) According to the response message sent from guest, our main channel decides whether send more data, or cancel this xfer task. 4) When file transfer has finished, file xfer task will be removed from task list. Signed-off-by: Dunrong Huang --- gtk/channel-main.c

[Spice-devel] [PATCH spice-gtk V2 0/3] simply implement of file drag-and-drop

2012-11-23 Thread Dunrong Huang
all file operation to the channel level * Use glib API for file operations * spice protocol related file transfer has been extended for the future's work * Only export a single API spice_main_file_xfer() Comments are welcome, please review! Dunrong Huang (3): drag-n-drop: han

[Spice-devel] [PATCH spice-protocol V2] vd_agent.h: drag-and-drop support

2012-11-23 Thread Dunrong Huang
ed-off-by: Dunrong Huang Cc: Hans de Goede Cc: Marc-André Lureau Cc: Alon Levy Cc: Uri Lublin --- spice/vd_agent.h | 35 +++ 1 file changed, 35 insertions(+) diff --git a/spice/vd_agent.h b/spice/vd_agent.h index 2b9884e..f6cc49e 100644 --- a/spice/vd_agent.h ++

Re: [Spice-devel] spice-vdagent start failed

2012-11-18 Thread Dunrong Huang
> IdName State > > 4 winxp running > > > Thank you. > > > _______ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org > http://

Re: [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Dunrong Huang
2012/11/16 Marian Krcmarik : > > > - Original Message - >> From: "Christophe Fergeau" >> To: "Dunrong Huang" >> Cc: "Amit Shah" , "spice-devel" >> , "qemu-devel" >> >> Sent: Friday, November

Re: [Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Dunrong Huang
Thanks for your quick reply. 2012/11/16 Christophe Fergeau : > On Fri, Nov 16, 2012 at 06:02:33PM +0800, Dunrong Huang wrote: >> I meet a weird problem: >> If I I boot QEMU with virtio-serial being enabled and assign only one >> cpu to windows VM, when I shutdown VM, QEMU

Re: [Spice-devel] Windows Guest Tools 0.2

2012-11-16 Thread Dunrong Huang
_ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel > -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] QEMU hangs when shutdown windows7 guest with virtio-serial drivers installed

2012-11-16 Thread Dunrong Huang
=charconsole0,id=console0", guest will not hang too. I don't know what make QEMU hang, windows virtio-serial driver, QEMU virtio-serial or usb redirection? Any help is appreciated. -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spi

Re: [Spice-devel] [RFC] [PATCH spice-gtk 0/4] simply implement of file drag-and-drop

2012-11-13 Thread Dunrong Huang
in the guest (It will then need to create a dummy file with that > size in order to ensure the space is not siphoned away during the file > transfer). > The guest knows the file size, but it does not created a dummy file with this size. This will be fixed in v2. -- Best Regards, Dunrong

Re: [Spice-devel] [RFC] [PATCH spice-gtk 0/4] simply implement of file drag-and-drop

2012-11-13 Thread Dunrong Huang
Thank you for your detailed comment! 2012/11/12 Marc-André Lureau : > Hi! > > > On Mon, Nov 5, 2012 at 10:01 AM, Dunrong Huang wrote: >> >> These patches simply implement file drag-and-drop from client to guest. >> > > nice! > >> >> Ther

Re: [Spice-devel] Does spice in xen-4.2.0 support VGA passthrough with the virtual machine created by xl command?

2012-11-12 Thread Dunrong Huang
end this post to xen or QEMU mailing list. > > Thank you! > > huqian > > > > ___ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org > http://lists.freedesktop.org/mail

[Spice-devel] [RFC] [PATCH vd_agent] DND: Add drag-and-drop support

2012-11-05 Thread Dunrong Huang
a. 2) VD_AGENT_DND_DATA: the message is used to transfer file content. Signed-off-by: Dunrong Huang --- src/vdagent.c| 110 +++ src/vdagentd-proto-strings.h | 2 + src/vdagentd-proto.h | 2 + src/vdagentd.c | 28 +++ 4

[Spice-devel] [RFC] [PATCH spice-gtk 4/4] DND: Set a maximum allowed file size

2012-11-05 Thread Dunrong Huang
Because of some technological reason, e.g. a progress bar that allows user to cancels file transfer has not been done. We have to specify a maximum allowed file size so file content will not consume too much memory. Signed-off-by: Dunrong Huang --- gtk/spice-dnd.c | 22 ++ 1

[Spice-devel] [RFC] [PATCH spice-gtk 3/4] DND: handle "drag-data-received" signal

2012-11-05 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 will receive data which contains file path, and call spice_dnd_process() to transfer file to guest. Signed-off-b

[Spice-devel] [RFC] [PATCH spice-protocol] DND: Add VD_AGENT_DND_*

2012-11-05 Thread Dunrong Huang
For now, there are two types of DND messages 1) VD_AGENT_DND_START: when user drags a file and drop to spice client, spice client will send this message to notify guest agent to prepare for receiving file. 2) VD_AGENT_DND_DATA: is used to transfer file content. Signed-off-by: Dunrong

[Spice-devel] [RFC] [PATCH spice-gtk 2/4] DND: Add spice-dnd.c

2012-11-05 Thread Dunrong Huang
The file provides a API spice_dnd_process for processing DND message, e.g. sending DND start message. After received "drag-data-received" signal, SpiceDisplay could call this API to sending dnd message. Signed-off-by: Dunrong Huang --- gtk/Makefile.am | 1 + gt

[Spice-devel] [RFC] [PATCH spice-gtk 1/4] DND: Add spice_main_dnd_*() for sending dnd message to guest

2012-11-05 Thread Dunrong Huang
luded in message's data. 2) VD_AGENT_DND_DATA: the message is used to transfer file content. Signed-off-by: Dunrong Huang --- gtk/channel-main.c | 16 gtk/channel-main.h | 3 +++ gtk/map-file| 2 ++ gtk/spice-glib-sym-file | 2 ++ 4 files c

[Spice-devel] [RFC] [PATCH spice-gtk 0/4] simply implement of file drag-and-drop

2012-11-05 Thread Dunrong Huang
-cache before sending file content, it has a little difficult to finish. Comments are welcome, please review! Dunrong Huang (4): DND: Add spice_main_dnd_*() for sending dnd message to guest DND: Add spice-dnd.c DND: handle "drag-data-received" signal DND: Set a maximum al

Re: [Spice-devel] [RFC] Implement of file drag-and-drop between host and guest

2012-10-22 Thread Dunrong Huang
; Hans > > ___ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] [RFC] Implement of file drag-and-drop between host and guest

2012-10-20 Thread Dunrong Huang
hans, Marc-André, any suggestion? -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

Re: [Spice-devel] [spice-gtk PATCH] spicy: Make "CopyToGuest" and "PasteFromGuest" insensitive if spice agent is not connected

2012-09-24 Thread Dunrong Huang
ually use spicy to test && hack QEMU, virt-viewer is a bit more big to me, :-), but I will try it in future work. Can remote-viewer connect to QEMU which start manually rather than by libvirt? > > Regards, > > Hans > > > > On 09/24/2012 09:27 AM, Dunrong Huang wrote

[Spice-devel] [spice-gtk PATCH] spicy: Make "CopyToGuest" and "PasteFromGuest" insensitive if spice agent is not connected

2012-09-24 Thread Dunrong Huang
"CopyToGuest" and "CopyToGuest" can not work if spice agent is not connected, e.g. guest does not install or enable spice agent, or spice server does not create vdagent channel. In these cases, make those item insensitive. Signed-off-by: Dunrong Huang -

Re: [Spice-devel] Screen video support

2012-09-09 Thread Dunrong Huang
while (1) { spice_display_get_pixbuf(display); usleep(4); } > I concern that the spice may crash... > I hacked spicy.c, added some codes as the above and test it. seems look good. > > 2012/9/9 Dunrong Huang >> >> 2012/9/8 flooding Controlled : >> > Hi guys: >> >

Re: [Spice-devel] Failure to compile [was: [Spice-commits] gtk/channel-display.c]

2012-09-08 Thread Dunrong Huang
, >> SPICE_DISPLAY_CAP_A8_SURFACE); >> } >> >> static void spice_display_channel_init(SpiceDisplayChannel *channel) >> >> ___ >> Spice-commits mailing list >> spice-comm...@

Re: [Spice-devel] Screen video support

2012-09-08 Thread Dunrong Huang
-devel mailing list > Spice-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel > -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

Re: [Spice-devel] [PATCH] spicy: add --title= command line option

2012-09-05 Thread Dunrong Huang
-1907,5 +1919,9 @@ int main(int argc, char *argv[]) > g_free(conf); > g_key_file_free(keyfile); > > +if (spicy_title) { > +g_free(spicy_title); > +} g_free() dont need to check for NULL pointer > + > return 0; > } > -- > 1.7.1 > > _

Re: [Spice-devel] [spice-gtk PATCH v2 8/8] channel-smartcard: do not attach temporary migration channel to smartcard

2012-08-27 Thread Dunrong Huang
g_warning("%s", error->message); > +g_clear_error(&error); > +} > } > > static void spice_smartcard_channel_up(SpiceChannel *channel) > diff --git a/gtk/spice-session-priv.h b/gtk/spice-session-priv.h > index e6cd17f..13345b4 100644 > --- a

Re: [Spice-devel] [PATCH] support automake >= 1.12

2012-08-27 Thread Dunrong Huang
__ > Spice-devel mailing list > Spice-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/spice-devel -- Best Regards, Dunrong Huang ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

Re: [Spice-devel] [spice-gtk PATCH] spicy.c: Don't attempt to connect automatically if hostname and port are not provided

2012-08-24 Thread Dunrong Huang
Thanks for your review. 2012/8/24 Marc-André Lureau : > Hi, > > On Fri, Aug 24, 2012 at 11:48 AM, wrote: >> From: Dunrong Huang >> >> This patch will fix following error: >> $ spicy --spice-debug >> .. >> (spicy:21981): GSpice-DEBUG: spi