Re: [Spice-devel] [Users] Spice Issue

2012-11-21 Thread flooding Controlled
Hi guys: How does virt-viewer-0.5.3_x86.exehttp://www.spice-space.org/download/gtk/windows/virt-viewer-0.5.3_x86.exeto be build ? and how to setup the env with VS2008 or VS2010? Have anyone try this ? Could you give some help ? 2012/11/21 Oved Ourfalli ov...@redhat.com - Original

Re: [Spice-devel] [Users] Spice Issue

2012-11-21 Thread mzawdx wang
http://spice-space.org/page/Building_Instructions this may help you. 2012/11/21 flooding Controlled flooding2...@gmail.com Hi guys: How does virt-viewer-0.5.3_x86.exehttp://www.spice-space.org/download/gtk/windows/virt-viewer-0.5.3_x86.exeto be build ? and how to setup the env with

Re: [Spice-devel] Already connected USB devices...

2012-11-21 Thread Hans de Goede
Hi, On 11/20/2012 11:41 PM, Klaus Hochlehnert wrote: Hi, I was wondering if it’s possible to auto connect already plugged-in USB devices when virt-viewer starts? We’re using an Ubuntu-client with virt-viewer and SPICE and this client has permanently a card reader plugged in. With the

Re: [Spice-devel] Guest agent for Windows 8

2012-11-21 Thread Christophe Fergeau
Hey, On Tue, Nov 20, 2012 at 11:34:56AM -0600, Erik Lotspeich wrote: I was wondering if there will be a Windows 8 build for the Windows guest tools soon. I don't have much experience with Windows development or how to compile the source. Is this something that is fairly easy to do? Can Cygwin

Re: [Spice-devel] [Users] Spice Issue

2012-11-21 Thread Christophe Fergeau
Hey, On Wed, Nov 21, 2012 at 05:33:26PM +0800, flooding Controlled wrote: How does virt-viewer-0.5.3_x86.exehttp://www.spice-space.org/download/gtk/windows/virt-viewer-0.5.3_x86.exeto be build ? and how to setup the env with VS2008 or VS2010? This one was probably built using mingw on a

Re: [Spice-devel] [PATCH spice-gtk 1/2] Add SpiceSession:ca property

2012-11-21 Thread Christophe Fergeau
On Mon, Nov 19, 2012 at 09:52:01PM +0100, Marc-André Lureau wrote: --- gtk/spice-session-priv.h | 2 ++ gtk/spice-session.c | 40 ++-- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/gtk/spice-session-priv.h

Re: [Spice-devel] [PATCH spice-gtk 2/2] channel: learn to load certificate from memory

2012-11-21 Thread Christophe Fergeau
Ah great, thanks for doing that! Patch looks good, ACK. Christophe On Mon, Nov 19, 2012 at 09:52:02PM +0100, Marc-André Lureau wrote: Sadly, OpenSSL doesn't provide a way to load certificate from memory, but all the functions necessary to do so are actually public, so we can implement our own

Re: [Spice-devel] Guest agent for Windows 8

2012-11-21 Thread Arnon Gilboa
Christophe Fergeau wrote: Hey, On Tue, Nov 20, 2012 at 11:34:56AM -0600, Erik Lotspeich wrote: I was wondering if there will be a Windows 8 build for the Windows guest tools soon. I don't have much experience with Windows development or how to compile the source. Is this something that is

Re: [Spice-devel] Guest agent for Windows 8

2012-11-21 Thread Christophe Fergeau
On Wed, Nov 21, 2012 at 02:59:44PM +0200, Arnon Gilboa wrote: Christophe Fergeau wrote: On Tue, Nov 20, 2012 at 11:34:56AM -0600, Erik Lotspeich wrote: I was wondering if there will be a Windows 8 build for the Windows guest tools soon. I don't have much experience with Windows development or

Re: [Spice-devel] [Users] Spice Issue

2012-11-21 Thread flooding Controlled
Is there any tutorial to study howto ? Thanks. 2012/11/21 Christophe Fergeau cferg...@redhat.com Hey, On Wed, Nov 21, 2012 at 05:33:26PM +0800, flooding Controlled wrote: How does virt-viewer-0.5.3_x86.exe http://www.spice-space.org/download/gtk/windows/virt-viewer-0.5.3_x86.exe to be

Re: [Spice-devel] [Users] Spice Issue

2012-11-21 Thread Christophe Fergeau
On Wed, Nov 21, 2012 at 09:24:42PM +0800, flooding Controlled wrote: Is there any tutorial to study howto ? Thanks. Not sure there is, but this would amount to install the mingw compiler and the mingw-* virt-viewer dependencies using yum on fedora 17 or fedora 18, unpack virt-viewer source, run

Re: [Spice-devel] Very poor performance on KVM with Ubuntu 12.10 guest

2012-11-21 Thread Jodi Curtis
Hi The file doesn't exist on the host and I had already written off Ubuntu 12.x, the host is command line only, I moved to Xubuntu, which offers better performance, I am hoping I can improve it by using the guest source provided by spice, the Ubuntu guest was partially crashing (launcher I

Re: [Spice-devel] Very poor performance on KVM with Ubuntu 12.10 guest

2012-11-21 Thread Jodi Curtis
Hi I'm going to file two new items on the board 1. Regarding the keymap (as at this point I do not know how to go about identifying the cause) 2. Regarding the ongoing TLS issue RE: performance, I am not sure how graphics are rendered, the server has poor graphics capability, so I don't know

[Spice-devel] Keymap issues with en-gb

2012-11-21 Thread Jodi Curtis
Hi I have been working with kvm-spice connected to virt-viewer/remote-viewer I have a Ubuntu server 12.10 hosting four virtual machines, one is a spice desktop, Xubuntu 12.10, the others are ubuntu Server 12.10 All were installed over spice via iso mounted via virsh qemu-monitor-command. and

[Spice-devel] SSL connection problem

2012-11-21 Thread Jodi Curtis
Hi I am still having problems connecting via SSL after resolving the apparmor.d problem with reading the key directory contents I am not sure what the error is caused by, any help would be appreciated I can connect after commenting out the secure channel request There is no port restrictions

[Spice-devel] [PATCH spice-server 0/7] please ignore previous partial series

2012-11-21 Thread Yonit Halperin
Hi, This series of patches includes fixes that are mostly related to migration. Regards, Yonit. Yonit Halperin (7): char_device.c: add ref count for write-to-device buffers char_device.c: when the state is destroyed, also free the buffer that is being written to the device reds.c: fix

[Spice-devel] [PATCH spice-server 1/7] char_device.c: add ref count for write-to-device buffers

2012-11-21 Thread Yonit Halperin
The ref count is used in order to keep buffers that were in the write queue and now are part of migration data, in case the char_device state is destroyed before we complete sending the migration data. --- server/char_device.c | 51 +--

[Spice-devel] [PATCH spice-server 2/7] char_device.c: when the state is destroyed, also free the buffer that is being written to the device

2012-11-21 Thread Yonit Halperin
--- server/char_device.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/char_device.c b/server/char_device.c index 1c48719..5231bf0 100644 --- a/server/char_device.c +++ b/server/char_device.c @@ -688,6 +688,9 @@ void spice_char_device_state_destroy(SpiceCharDeviceState *char_dev)

[Spice-devel] [PATCH spice-server 4/7] red_worker.c: fix marshalling of migration data

2012-11-21 Thread Yonit Halperin
fix calling spice_marhsaller_add_ref with memory on stack --- server/red_worker.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/server/red_worker.c b/server/red_worker.c index 18ac949..092d45c 100644 --- a/server/red_worker.c +++ b/server/red_worker.c @@ -8433,7

[Spice-devel] [PATCH spice-server 5/7] smartcard.c: avoid marshalling migration data with reference to a memory that might be released before send has completed

2012-11-21 Thread Yonit Halperin
The current solution just copy the buffer. Currently data that is read from the guest is always copied before sending it to the client. When we will have ref count for these buffers, we can also use it for marshalling the migration data. --- server/smartcard.c | 2 +- 1 file changed, 1

[Spice-devel] [PATCH spice-server 6/7] red_worker.c: fix not sending all pending messages when the device is stopped

2012-11-21 Thread Yonit Halperin
red_wait_outgoing_item only waits till the currently outgoing msg is completely sent. red_wait_outgoing_items does the same for multi-clients. handle_dev_stop erroneously called red_wait_outgoing_items, instead of waiting till all the items in the pipes are sent. This waiting is necessary because

[Spice-devel] [PATCH spice-server 7/7] red_worker.c: fix memory corruption when data from client is bigger than 1024 bytes

2012-11-21 Thread Yonit Halperin
Previously, there was no check for the size of the message received from the client, and all messages were read into a buffer of size 1024. However, migration data can be bigger than 1024. In such cases, memory corruption occurred. --- server/red_worker.c | 12 1 file changed, 12

[Spice-devel] [PATCH] char_device.c: fix call to spice_marshaller_add_ref with memory on stack

2012-11-21 Thread Yonit Halperin
rhbz#862352 --- server/char_device.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/server/char_device.c b/server/char_device.c index ac2632d..141ec88 100644 --- a/server/char_device.c +++ b/server/char_device.c @@ -816,12 +816,14 @@ void

[Spice-devel] [PATCH spice-server 3/7] reds.c: fix calls to spice_marshaller_add_ref with ptr to memory that might be released before sending

2012-11-21 Thread Yonit Halperin
--- server/reds.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/server/reds.c b/server/reds.c index 98c8706..b99d01f 100644 --- a/server/reds.c +++ b/server/reds.c @@ -1171,16 +1171,20 @@ void reds_marshall_migrate_data(SpiceMarshaller *m)

[Spice-devel] [PATCH vdagent-linux] vdagentd: send monitors config to currently active agent only

2012-11-21 Thread Marc-André Lureau
Sending monitors config to all agents will results in unnecessary work from some of them, or racy behaviour. Currently, several session agent sharing the same X session may want to create or modify the same mode resulting in X errors: spice-vdagent[2985]: received monitor 0 config 1440x823+0+0

Re: [Spice-devel] Guest agent for Windows 8

2012-11-21 Thread Erik Lotspeich
On 11/21/2012 07:13 AM, Christophe Fergeau wrote: On Wed, Nov 21, 2012 at 02:59:44PM +0200, Arnon Gilboa wrote: Christophe Fergeau wrote: On Tue, Nov 20, 2012 at 11:34:56AM -0600, Erik Lotspeich wrote: I was wondering if there will be a Windows 8 build for the Windows guest tools soon. I

[Spice-devel] Slowness in virtual desktops display update issue mentioned in kvm

2012-11-21 Thread Glenn West
Be careful when virtualize linux desktops, and u expect good response to the screen. The Graphics mode can really effect the screen/desktop performance. I was badmounthng another distro, only to find out that the graphics mode has a huge effect on performance, and the default modes may be