Re: [Spice-devel] virt-viewer windows does not support grabbing mouse

2012-12-17 Thread Peter Styk
Hi, I've decided to compile virt-viewer under windows. I basically need spice-widget as a .NET windows forms component. Before I worry about .NET i have to figure out how to compile this under windows. Here is what I found out...and having said that I know about zero about C. Easiest way to compi

Re: [Spice-devel] Usb redirection

2012-12-17 Thread Jackson
And there is anther question. In the function "static gpointer spice_usb_device_manager_usb_ev_thread()", I use libusb_handle_events(context) to handle events, but I only receive data from server through the function "usbredir_read_callback()". After 60 secs, the client send data to server thr

Re: [Spice-devel] Usb redirection

2012-12-17 Thread Jackson
> > And I print the data in usbredir_write_callback() & usbredir_free_write_cb_data() > > ... > > write_data = 100 > > free_data = 100 > > write_data = 17 > > write_data = 17 > > write_data = 4 > > write_data = 5 > > write_data = 11 > > free_data = 17 > > free_data = 238(error) > > > What are the

Re: [Spice-devel] virt-viewer windows does not support grabbing mouse

2012-12-17 Thread luohao_brian
David, Thanks for your reply. BTW, any documents of how to build installable virt-viewer for windows from the source code? 2012-12-18 Hao Luo 发件人:David Jaša 发送时间:2012-12-17 17:56 主题:Re: [Spice-devel] virt-viewer windows does not support grabbing mouse 收件人:"luohao_brian" 抄送:"spice-devel"

Re: [Spice-devel] Announcing usbredir-0.6

2012-12-17 Thread Hans de Goede
Hi, On 12/15/2012 02:32 AM, javaon wrote: Great, Hans, can current spice 0.12 + spice-gtk 0.14 work with this new usbredir 0.6? Yes, but on the host side you need qemu[-kvm] >= 1.3, as indicated here: http://spice-space.org/page/UsbRedir Regards, Hans thanks, On 12/14/2012 08:48 PM, Ha

Re: [Spice-devel] [PATCH spice-gtk] channel: switch to protocol 1 on error during link-time

2012-12-17 Thread Christophe Fergeau
On Mon, Dec 17, 2012 at 06:31:52AM -0500, Marc-André Lureau wrote: > Hi > > - Mensaje original - > > > c->peer_msg = spice_malloc(c->peer_hdr.size); > > > if (c->peer_msg == NULL) { > > > -g_critical("invalid peer header size: %u", > > > c->peer_hdr.size); > > > +

Re: [Spice-devel] [PATCH spice-gtk] channel: switch to protocol 1 on error during link-time

2012-12-17 Thread Marc-André Lureau
Hi - Mensaje original - > > c->peer_msg = spice_malloc(c->peer_hdr.size); > > if (c->peer_msg == NULL) { > > -g_critical("invalid peer header size: %u", > > c->peer_hdr.size); > > +g_warning("invalid peer header size: %u", > > c->peer_hdr.size); > > goto

[Spice-devel] gcov code coverage integration to build system

2012-12-17 Thread David Jaša
Hi, I'm trying to integrate gcov directly into (spice-common & spice-server) according to the tutorial at: https://qualityhour.wordpress.com/2012/01/29/test-coverage-tutorial-for-cc-autotools-projects/ and it sort of works, if I add the gcov.m4 file to m4/ subdirectories and patch configure.ac fi

Re: [Spice-devel] [PATCH spice-gtk] channel: switch to protocol 1 on error during link-time

2012-12-17 Thread Christophe Fergeau
On Wed, Dec 05, 2012 at 11:43:51AM +0100, Marc-André Lureau wrote: > The Spice server doesn't wait until all the data are received by the > remote before closing the socket (that would need SO_LINGER?). Under > some racy conditions, the client may not have received the link reply > indicating the s

Re: [Spice-devel] Usb redirection

2012-12-17 Thread Hans de Goede
Hi, On 12/17/2012 10:38 AM, Jackson wrote: OK! I use spice-gtk with usb redirection 0.4.3 and trying to redirect webcam to VM. There are some problems causing the client crashed when usbredir_free_write_cb_data()->usbredirhost_free_write_buffer()->...try to free data. And I print the data in usb

Re: [Spice-devel] virt-viewer windows does not support grabbing mouse

2012-12-17 Thread David Jaša
luohao_brian píše v Po 17. 12. 2012 v 02:43 +0800: > I am using virt-viewer 0.53 for windows, which seems not support > grabbing mouse, but on linux it does. Any plan to support grabbing > mouse? Hi, you must be hitting some of the bugs that were recently fixed. Marc-André/Cristophe, could you up

Re: [Spice-devel] Usb redirection

2012-12-17 Thread Jackson
OK! I use spice-gtk with usb redirection 0.4.3 and trying to redirect webcam to VM. There are some problems causing the client crashed when usbredir_free_write_cb_data()->usbredirhost_free_write_buffer()->...try to free data. And I print the data in usbredir_write_callback() & usbredir_free_wr