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
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
,
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
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
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
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
&
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
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:
>
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
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
> 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,
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
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
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
原始邮件 ------
> *发件人:* "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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>
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.
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
>*
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
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
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
--
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
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
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
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,
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
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
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
--
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"
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
/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
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
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
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
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
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
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
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
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
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
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
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
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
; 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
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
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
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
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
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
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
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
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
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
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
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
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
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
++
> IdName State
>
> 4 winxp running
>
>
> Thank you.
>
>
> _______
> Spice-devel mailing list
> Spice-devel@lists.freedesktop.org
> http://
2012/11/16 Marian Krcmarik :
>
>
> - Original Message -
>> From: "Christophe Fergeau"
>> To: "Dunrong Huang"
>> Cc: "Amit Shah" , "spice-devel"
>> , "qemu-devel"
>>
>> Sent: Friday, November
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
_
> 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
=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
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
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
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
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
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
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
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
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
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
-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
; 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
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
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
"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
-
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:
>> >
,
>> SPICE_DISPLAY_CAP_A8_SURFACE);
>> }
>>
>> static void spice_display_channel_init(SpiceDisplayChannel *channel)
>>
>> ___
>> Spice-commits mailing list
>> spice-comm...@
-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
-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
>
> _
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
__
> 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
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
96 matches
Mail list logo