Re: [Spice-devel] [PATCH] spice_info: add mouse_mode

2012-03-26 Thread Alon Levy
On Mon, Mar 26, 2012 at 03:06:22PM +0200, Gerd Hoffmann wrote: > > +#if SPICE_SERVER_VERSION >= 0x000a03 /* 0.10.3 */ > > +info->has_mouse_mode = true; > > +info->mouse_mode = g_strdup(spice_server_is_server_mouse(spice_server) > > ? > > +

Re: [Spice-devel] [PATCH] spice_info: add mouse_mode

2012-03-26 Thread Gerd Hoffmann
On 03/26/12 15:30, Alon Levy wrote: > On Mon, Mar 26, 2012 at 03:06:22PM +0200, Gerd Hoffmann wrote: >>> +#if SPICE_SERVER_VERSION >= 0x000a03 /* 0.10.3 */ >>> +info->has_mouse_mode = true; >>> +info->mouse_mode = g_strdup(spice_server_is_server_mouse(spice_server) >>> ? >>> +

Re: [Spice-devel] [PATCH] spice_info: add mouse_mode

2012-03-26 Thread Alon Levy
On Mon, Mar 26, 2012 at 03:06:22PM +0200, Gerd Hoffmann wrote: > > +#if SPICE_SERVER_VERSION >= 0x000a03 /* 0.10.3 */ > > +info->has_mouse_mode = true; > > +info->mouse_mode = g_strdup(spice_server_is_server_mouse(spice_server) > > ? > > +

Re: [Spice-devel] [PATCH] spice_info: add mouse_mode

2012-03-26 Thread Gerd Hoffmann
> +#if SPICE_SERVER_VERSION >= 0x000a03 /* 0.10.3 */ > +info->has_mouse_mode = true; > +info->mouse_mode = g_strdup(spice_server_is_server_mouse(spice_server) ? > +"server" : "client"); #else info->mouse_mode = "unknown"; #endif

Re: [Spice-devel] [PATCH qemu+spice] expose server mouse status

2012-03-26 Thread Arnon Gilboa
ACK series Acked-by: Arnon Gilboa Alon Levy wrote: Below are the combined summaries. This lets the current mouse mode the server is using be shown to qemu users: (qemu) info spice Server: address: 0.0.0.0:10005 auth: none compiled: 0.10.2 mouse-mode: server qemu: Alon Lev

[Spice-devel] [PATCH] spice_info: add mouse_mode

2012-03-26 Thread Alon Levy
Add mouse_mode, either server or mouse, to qmp and hmp commands, based on spice_server_is_server_mouse added in spice-server 0.10.3. Signed-off-by: Alon Levy --- hmp.c|2 ++ qapi-schema.json |7 ++- ui/spice-core.c |5 + 3 files changed, 13 insertions(+), 1 delet

[Spice-devel] [PATCH] server: export spice_server_is_server_mouse predicate

2012-03-26 Thread Alon Levy
To be used by qemu query-spice / info spice commands. --- server/reds.c|6 ++ server/spice-server.syms |4 server/spice.h |4 +++- 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/server/reds.c b/server/reds.c index 27e7ea2..bf26864 100644 -

[Spice-devel] [PATCH qemu+spice] expose server mouse status

2012-03-26 Thread Alon Levy
Below are the combined summaries. This lets the current mouse mode the server is using be shown to qemu users: (qemu) info spice Server: address: 0.0.0.0:10005 auth: none compiled: 0.10.2 mouse-mode: server qemu: Alon Levy (1): spice_info: add mouse_mode hmp.c

[Spice-devel] Is it possible to distinguish surfaces according to different processes in QXL driver?

2012-03-26 Thread Yuanyuan Jiang
Hi I want to distinguish surfaces for future use such as sending specific graphics of one application on user's demand instead of sending the whole desktop or multiple users sharing one VM. I read the source code of QXL driver, and tried to get current PID in DrvCreateDeviceBitmap(in qxl/display/dr

Re: [Spice-devel] SSL connect problem

2012-03-26 Thread Christophe Fergeau
Hey, On Fri, Mar 23, 2012 at 10:04:35PM +0200, Alon Levy wrote: > Huh? It's known to fail so you have to relaunch spicec or just that > failed connections appear in the log? the later is the only thing I know > of. Any BZ? The former, this is https://bugzilla.redhat.com/show_bug.cgi?id=723582 Ch

[Spice-devel] Announcing spice-vdagent-0.10.0

2012-03-26 Thread Hans de Goede
Hi All, I'm happy to announce version 0.10.0 of the spice guest agent for Linux: spice-vdagent-0.10.0 * Add limited support for multiple displays, see README * Add support for RHEL-5 (and other distributions with a non hotplug capable Xorg and/or no console-kit), see READM

[Spice-devel] Is it possible to distinguish surfaces according to different processes in QXL driver?

2012-03-26 Thread 蒋媛园
Hi I want to distinguish surfaces for future use such as sending specific graphics of one application on user's demand instead of sending the whole desktop or multiple users sharing one VM. I read the source code of QXL driver, and tried to get current PID in DrvCreateDeviceBitmap(in qxl/display

[Spice-devel] Is it possible to distinguish surfaces according to different processes in QXL driver?

2012-03-26 Thread 蒋媛园
Hi I want to distinguish surfaces for future use such as sending specific graphics of one application on user's demand instead of sending the whole desktop or multiple users sharing one VM. I read the source code of QXL driver, and tried to get current PID in DrvCreateDeviceBitmap(in qxl/display

Re: [Spice-devel] SPICE_CHANNEL_TUNNEL

2012-03-26 Thread Charles . Tsai-蔡清海-研究發展部
Hi Yonit, I am currently implementing a printing redirect based on the Virio framework. Can I use tunnel channel to forward printing file from the guest OS to the client? If I can do it, is there any API that I can call from the guest OS to inject the printing data into the tunnel channel? Rig