[Spice-devel] Virtual Smartcard GPG

2015-04-29 Thread roky
Hi. I am trying to get a virtual smartcard attached to a vm but I want it to use GPG instead of NSS. RedHat focuses on NSS becuase of PKCS#11 requirements and FIPS approval, but for most of the community its GPG that matters for smartcards. Is is possible to use GPG on the host instead of NSS

Re: [Spice-devel] xspice multiple monitor

2015-04-29 Thread My Work
Hi. I am trying to start my spice server with multiple monitor. On wich side (server or client) i have to run this two commands? spice-vdagentd -x -S /tmp/xspice-vdagent -s /tmp/xspice_-virtio -f -u /tmp/xspice-uinput spice-vdagent -x -S /tmp/xspice-vdagent -s /tmp/xspice_-virtio This is my

Re: [Spice-devel] Virtual Smartcard GPG

2015-04-29 Thread Alon Levy
On 04/29/2015 02:20 PM, r...@openmailbox.org wrote: Hi. I am trying to get a virtual smartcard attached to a vm but I want it to use GPG instead of NSS. RedHat focuses on NSS becuase of PKCS#11 requirements and FIPS approval, but for most of the community its GPG that matters for smartcards.

Re: [Spice-devel] spice connect to virtual desktop via Ovirt failed

2015-04-29 Thread Christophe Fergeau
Hey, Please avoid sending huge images to mailing list, but upload them somewhere online, and then add a link to the image in your email. On Tue, Apr 28, 2015 at 11:31:40AM +0800, 摸鱼儿 wrote: Hello Join My spice can connect to normal virtual desktop via centos virt-manager spice server. but

Re: [Spice-devel] spice server 0.12.5 use qemu which releases

2015-04-29 Thread Christophe Fergeau
Hey, On Mon, Apr 27, 2015 at 03:44:23PM +0800, 王成 wrote: qemu-2.2.1 spice-0.12.5 spice-gtk-0.28 spice-protocol-0.12.7 these combine is ok? This should be fine as these are recent stable releases of these various modules. You might need to cherry-pick a few patches from the git repository of

Re: [Spice-devel] Virtual Smartcard GPG

2015-04-29 Thread roky
On 2015-04-29 11:41, Alon Levy wrote: On 04/29/2015 02:20 PM, r...@openmailbox.org wrote: Hi. I am trying to get a virtual smartcard attached to a vm but I want it to use GPG instead of NSS. RedHat focuses on NSS becuase of PKCS#11 requirements and FIPS approval, but for most of the community

Re: [Spice-devel] [PATCH spice-gtk] usb: channel-new handler to be after default handlers

2015-04-29 Thread Zeeshan Ali (Khattak)
On Wed, Apr 29, 2015 at 11:59 PM, Marc-André Lureau marcandre.lur...@redhat.com wrote: Client usually connect to channel-new to connect their handlers, such as open-fd. The usbmanager channel-new handler will call channel_connect() on usbredir channels, which may call open-fd. However,

[Spice-devel] [PATCH spice-gtk] usb: channel-new handler to be after default handlers

2015-04-29 Thread Marc-André Lureau
Client usually connect to channel-new to connect their handlers, such as open-fd. The usbmanager channel-new handler will call channel_connect() on usbredir channels, which may call open-fd. However, open-fd can be emitted before the client had a chance to connect their handlers (from the

Re: [Spice-devel] xspice multiple monitor

2015-04-29 Thread Jeremy White
Hi, On 04/29/2015 06:33 AM, My Work wrote: Hi. I am trying to start my spice server with multiple monitor. On wich side (server or client) i have to run this two commands? spice-vdagentd -x -S /tmp/xspice-vdagent -s /tmp/xspice_-virtio -f -u /tmp/xspice-uinput spice-vdagent -x -S

Re: [Spice-devel] [PATCH spice-gtk] usb: channel-new handler to be after default handlers

2015-04-29 Thread Fabiano Fidêncio
On Wed, Apr 29, 2015 at 8:03 PM, Zeeshan Ali (Khattak) zeesha...@gnome.org wrote: On Wed, Apr 29, 2015 at 11:59 PM, Marc-André Lureau marcandre.lur...@redhat.com wrote: Client usually connect to channel-new to connect their handlers, such as open-fd. The usbmanager channel-new handler will

[Spice-devel] [PATCH spice-gtk 1/5] audio: emit stop when the channels are reset

2015-04-29 Thread Marc-André Lureau
Ensure a hint is given to the client that the channel is reset. Unfortunately, since the handle may be asynchronous due to coroutine, the channel functions should be tolerant to a playback/record calls functions when the channel is stopped. --- gtk/channel-playback.c | 2 ++ gtk/channel-record.c

[Spice-devel] [PATCH spice-gtk 0/5] audio fixes

2015-04-29 Thread Marc-André Lureau
Hi The following series of patches solves a crash happening when a record channel is reset but the audio session is still running (this may happen when the SpiceSession is recycled, and the stop signals didn't stop audio task yet). It also removes warnings when the audio channel is session-less

[Spice-devel] [PATCH spice-gtk 5/5] audio: stop playback on channel destroyed

2015-04-29 Thread Marc-André Lureau
Ensure playback is stopped when the channel is destroyed. --- gtk/spice-gstaudio.c | 2 ++ gtk/spice-pulse.c| 2 ++ 2 files changed, 4 insertions(+) diff --git a/gtk/spice-gstaudio.c b/gtk/spice-gstaudio.c index f3c5c20..016b19b 100644 --- a/gtk/spice-gstaudio.c +++ b/gtk/spice-gstaudio.c @@

[Spice-devel] [PATCH spice-gtk 3/5] record: do not crash after record is stopped

2015-04-29 Thread Marc-André Lureau
If spice_record_send_data() after a reset, last_frame is NULL and memcpy will crash. Check if the recording was started if last_frame != NULL instead. Program received signal SIGSEGV, Segmentation fault. __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:204 204

[Spice-devel] [PATCH spice-gtk 2/5] playback: do not set mm time when session-less

2015-04-29 Thread Marc-André Lureau
Channels do not hold a strong reference on the session (because session can be recycled after disconnect), do not print a warning if the channel is session-less when updating the delay. --- gtk/channel-playback.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git

[Spice-devel] [PATCH spice-gtk 4/5] audio: use swapped channel handler for stop

2015-04-29 Thread Marc-André Lureau
We are going to reuse playback_stop() in following commit. --- gtk/spice-gstaudio.c | 7 +++ gtk/spice-pulse.c| 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/gtk/spice-gstaudio.c b/gtk/spice-gstaudio.c index 892028c..f3c5c20 100644 --- a/gtk/spice-gstaudio.c +++