[Spice-devel] 0001-a patch for syncing keyboard lock status

2014-03-26 Thread bigclouds
thanks 0001-there-is-only-few-oppotunity-one-or-two-to-sync-keyb.patch Description: Binary data ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

Re: [Spice-devel] spice client using Certificate and ipv6 question

2014-03-25 Thread bigclouds
at 09:45:54AM +0800, bigclouds wrote: centos6.3 spice-gtk-0.20-11.el6.x86_64 spice-server-0.12.2-1.el6.x86_64 spice-glib-0.20-11.el6.x86_64 virt-viewer-0.5.6-8.el6.x86_64 i think the problem is related to spice-glib, g_network_address_new. maybe glib has some problems

Re: [Spice-devel] spice client using Certificate and ipv6 question

2014-03-24 Thread bigclouds
-viewer:12972): GSpice-DEBUG: spice-channel.c:2259 main-1:0: Connect error At 2014-03-24 16:36:19,Christophe Fergeau cferg...@redhat.com wrote: Hey, On Sun, Mar 23, 2014 at 08:27:32PM +0800, bigclouds wrote: hi,all i have two questions about certificate and ipv6 1. on windows, i

[Spice-devel] spice client using Certificate and ipv6 question

2014-03-23 Thread bigclouds
hi,all i have two questions about certificate and ipv6 1. on windows, i install spice-client, it can connect its vm throught ipv6 throught console.vv.(delete two charachters [ ] of ipv6 address first). but on linux os, remote-viewer can not connect to vm throught ipv6. why? i have try many

Re: [Spice-devel] patch[1/1] fix a memory leak in qxl_screen_init

2013-11-06 Thread bigclouds
it is needed to detect the return of qxl_uxa_init in qxl_screen_init . At 2013-11-06 21:59:58,Jeremy White jwh...@codeweavers.com wrote: Nice catch! On 11/06/2013 03:37 AM, bigclouds wrote: hi, it allocate twice memory for qxl-uxa in function qxl_screen_init and qxl_uxa_init

[Spice-devel] how to use xf86-video-qxl driver

2013-09-11 Thread bigclouds
hi,all i have questions about xf86-video-qxl. 1.how to use it? 2.in its code, there are code related to XF86DRM. while XF86DRM is kernel driver. if xf86-video-qxl is related to kernel version . kernel 2.6.32 has no XF86DRM. thanks___ Spice-devel

[Spice-devel] kbd_push_scan does not take effect for modifier key

2013-08-12 Thread bigclouds
hi, sometime modifier key state is not right. Spice-Warning **: inputs_channel.c:442:inputs_channel_handle_parsed: YY 0 leds=0, modifiers=6 Spice-Warning **: inputs_channel.c:442:inputs_channel_handle_parsed: YY 1 leds=0, modifiers=6 Spice-Warning **:

[Spice-devel] question about input parsed function

2013-08-09 Thread bigclouds
hi,,all. i have quesiont about inputs_channel_handle_parsed. why SPICE_MSGC_INPUTS_KEY_MODIFIERS need two kbd_push_scan , while normal key just need only one kbd_push_scan? thanks.___ Spice-devel mailing list Spice-devel@lists.freedesktop.org

[Spice-devel] kbd led status inconsistent

2013-08-08 Thread bigclouds
hi,all 1.what kind of scancode spice use for kbd?(which scancode set) 2.when switch from spice-ui-client to ternimal, then push numLock,capLock.., then switch back to spice-ui-client, this action will lead led status inconsistent, how to avoid it, for example, when spice-ui-client get

Re: [Spice-devel] kbd led status inconsistent

2013-08-08 Thread bigclouds
it is remote-viewer. if XT scancode can support all kbd or most kbd? thanks At 2013-08-08 18:10:26,Marc-André Lureau mlur...@redhat.com wrote: - Mensaje original - hi,all 1.what kind of scancode spice use for kbd?(which scancode set) XT scancodes 2.when switch from

[Spice-devel] question about graphic process

2013-07-24 Thread bigclouds
hi,all i do not understand graphic process procedure very well. spice get graphic command from qemu, it seems like this command just only include display-data(pix data), has nothing with graphic command. in my mind, graphic command means 'draw line, draw circle'. so all spice knows about

Re: [Spice-devel] Information about video detection

2013-07-10 Thread bigclouds
hi, 1. in this post, it mentions RED_STREAM_FRAMES_START___CONDITION, i do not find it in source code. 2. what is the threshold of video detect? 3.action of excel opertions are very slow, could you tell me where(source code) i should look into to locate this problem? thanks 在 2013-07-02

[Spice-devel] how image is rendered on client side

2013-07-09 Thread bigclouds
hi,all i want to know on client side, how image data is rendered? and the relation among pixman,gtk,cairo,opengl thanks ___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] spice hardware acceleration

2013-07-04 Thread bigclouds
hi i am not farmilar with this eara,i have several question ,trouble you all to answer me. it involves both server and client 1.if hardware accelaration needs special hardware? 2.if i have such hardware, how to use it with spice? how to check out whether acceleration takes effect?

[Spice-devel] give me some advise how to improve display effect and decrease client cpu usage

2013-06-18 Thread bigclouds
hi,all i have used spice for a long time,it is good, but in pratice it needs improvement, like resource usage, network bandwidth,performance. 1.it eats up much cpu on client side, up to 90% when play video. i am sure whether decompression or something else uses so much cpu. if client

Re: [Spice-devel] give me some advise how to improve display effect and decrease client cpu usage

2013-06-18 Thread bigclouds
yhalp...@redhat.com wrote: Hi, On 06/18/2013 10:33 AM, bigclouds wrote: hi,all i have used spice for a long time,it is good, but in pratice it needs improvement, like resource usage, network bandwidth,performance. 1.it eats up much cpu on client side, up to 90% when play video. i am sure whether

Re: [Spice-devel] Looking for help to start learning Spice through bugfix/design

2013-06-17 Thread bigclouds
yes.i want to contribute to this project. now i have known the general frame , but it is hard to know deeper and further more. like mouse press,position , where will the data been put? how finally all of them are hanlded? i think mouse input is the easiest, so i analyse it first, please show me

[Spice-devel] bug: inputs_channel_handle_parsed leak of break in switch section

2013-06-16 Thread bigclouds
hi,all i think a break is needed.am i right? case SPICE_MSGC_INPUTS_KEY_DOWN: { SpiceMsgcKeyDown *key_up = (SpiceMsgcKeyDown *)buf; if (key_up-code == CAPS_LOCK_SCAN_CODE || key_up-code == NUM_LOCK_SCAN_CODE || key_up-code == SCROLL_LOCK_SCAN_CODE) {

[Spice-devel] what is the theory of detecting network status(bandwidth)

2013-06-09 Thread bigclouds
hi,all 1.how server detect network status? 2.what is the standard of LOW,HIGH bangwidth? thanks___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] video detect and jpeg

2013-05-24 Thread bigclouds
hi,all 1.for video detect , what is the differences amoung different modes? off|filter|all 2.i only know image,video. what is jpeg?it is like zlib for image compression. thanks___ Spice-devel mailing list

Re: [Spice-devel] video detect and jpeg

2013-05-24 Thread bigclouds
of high rate updates of the same region over the primary surface. off=turn off video streaming support filter=don't stream as video sequences of images that contain mostly text. all=do not apply filter. Regards, Yonit. On 05/24/2013 03:07 AM, bigclouds wrote: hi,all 1.for video detect , what

[Spice-devel] how to recognise usb device

2013-05-23 Thread bigclouds
hi,all i know that usb can be catgoryed by class. i want to know how spice to recignize and categroy usb devices? storage,mouse,keyboard and where is the code. thanks.___ Spice-devel mailing list Spice-devel@lists.freedesktop.org

Re: [Spice-devel] [PATCH spice-server 06/10] reds: disconnect the session when an essential channel is disconnected

2013-05-21 Thread bigclouds
close client? thanks At 2013-05-22 02:52:14,Yonit Halperin yhalp...@redhat.com wrote: On 05/20/2013 10:39 PM, bigclouds wrote: 1.is there a solution now? server may disconnect some of spice channels, but client does not reconnect , how to do with this? close client or let client

Re: [Spice-devel] [PATCH spice-server 06/10] reds: disconnect the session when an essential channel is disconnected

2013-05-20 Thread bigclouds
1.is there a solution now? server may disconnect some of spice channels, but client does not reconnect , how to do with this? close client or let client reconnect? 2. where is the code from which we can get socket signal(error,EPIPE..) when channel disconnected. thanks 在 2013-05-08

[Spice-devel] spice-gtk stream underflow

2013-05-16 Thread bigclouds
hi, spice-gtk-0.14-7.el6.x86_64 spice-glib-0.14-7.el6.x86_64 spice-gtk-tools-0.14-7.el6.x86_64 virt-viewer-0.5.2-18.el6_4.2.x86_64.rpm --- (remote-viewer:20877): GSpice-DEBUG: spice-session.c:1747 set mm time: 87024464 (remote-viewer:20877):

[Spice-devel] questions about socket in spice

2013-05-16 Thread bigclouds
hi, i set kepalive on server side, then unplug cable,then wait for a while. why other channels is disconnected other than 38102(i think it is main channel), but after re-plug cable , client can not connect server for ever. how to solve this: 1. disconect the only remain one . 2 let client

[Spice-devel] which chennel whose value is 2 or 5?

2013-05-16 Thread bigclouds
hi, please tell me what is the channel type whose value is 2 ,5? any other channels and its value. thanks. reds_handle_link: YY client connection 192.168.5.188, 5901 reds_handle_link: YY client connection 192.168.5.129, 38167 reds_handle_link: YY client channeltype 2

[Spice-devel] where to find msg type and its meaning

2013-05-16 Thread bigclouds
hi, version 0.10.1 rpm please tell me the meaningof 107,109,110, where to find its define. red_peer_receive: No route to host red_channel_client_disconnect: 0x7fb1b8606650 (channel 0x7fb1b80458d0 type 2 id 0) display_channel_client_on_disconnect:

[Spice-devel] socket communication question about differing client and device function

2013-05-16 Thread bigclouds
hi, now i do not know which callback function is for client, and which is for device. and how device driver communicate with spice server socket(where the code is, device side). i understand it in this way: main thread only accept client connect, then redirect command to worker thread(only

[Spice-devel] how can i re-connect server when one channel is dsconnected by server.

2013-05-16 Thread bigclouds
hi, throught test, i find if channels disconnected by server, client will never reconnect it again. server and client only make only one connect for each channel when launch remote-viewer. where and how should i add code to check channels status and reconnect only if channel disconnected?

[Spice-devel] how to infer the spice channel type corresponding to a specific port.

2013-05-15 Thread bigclouds
hi, 1.how to know the channel type of a port? look at following output. sometime port on server side is not identical to client side. i want to find which channel is disconnected. 2.there are how many channel and its type-value. thanks - tcp0 0 192.168.5.163:60097

[Spice-devel] why spice server is not aware of client-disconnection.

2013-05-14 Thread bigclouds
hi,all look at the output of netstat, it is after at least 30minutes i un-plug cable. how to make server know client's disconnect and disconnect channels(clean channels). tcp0 0 192.168.5.240:5903 192.168.5.163:60029 ESTABLISHED 31315/qemu-kvm tcp0

Re: [Spice-devel] [PATCHv2 spice-gtk] session: timeout after 10s of socket connect() attempt

2013-05-14 Thread bigclouds
hi, i have send a mail to ask why server is not aware of client's disconnection, nor client side. both think the connection is good. i test via unplug cable. look at result after unplug cable. why is that? thanks server: tcp0392 192.168.5.240:5903 192.168.5.163:60029

[Spice-devel] a special find. clicking of right button of mouse affect video playing

2013-05-10 Thread bigclouds
hi,all it is regular, if you put mouse not underneath media player, then click right button on desktop, video will shake. thanks centos6.3 spice-gtk-python-0.11-11.el6_3.1.x86_64 spice-protocol-0.10.1-5.el6.noarch spice-glib-0.11-11.el6_3.1.x86_64 spice-gtk-0.11-11.el6_3.1.x86_64

[Spice-devel] video screen does not change when re-plug after unplug network cable

2013-05-10 Thread bigclouds
hi,all unplug network cable, wait for sevaral munites, then plug again, at first minutes the video (i play a video) screen speed up to play, but then screen will stop , remain unchanged. reopen a spicy is needed. thanks___ Spice-devel mailing list

[Spice-devel] need documents of spice

2013-05-10 Thread bigclouds
hi,all i am looking into the code,need some documents to help me understand it, or give me some advices. is there any way to debug spice including server and client? thanks___ Spice-devel mailing list Spice-devel@lists.freedesktop.org

[Spice-devel] vm down for client reset

2013-05-10 Thread bigclouds
hi,all 1.it seems that there are many racing condition between channels. for example all channels of a vm connect to just only one client, if the client down, a variable shared between channels should be set. let see my problem. 1.server is aware of client is down (reset), 2.snd_receive

[Spice-devel] a stupid question, what does 'RED' word mean?

2013-05-09 Thread bigclouds
many functions start with 'red', what does it mean? thanks___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Spice-devel] if spice-client cache video?

2013-05-06 Thread bigclouds
hi,all i use guest play video(movie), then i unplug cable, wait several minutes, plug cable again, The video is not smooth In a few minutes what lead this? my network is good. thanks.___ Spice-devel mailing list Spice-devel@lists.freedesktop.org

[Spice-devel] network down lead vm been shutdown

2013-05-02 Thread bigclouds
hi,all the connection between remote-viewer and guest is good, now unplug Network Cable, wait several minutes, then kill virt-viewer. now guest will be shutdwn. ---winxp.log of libvirt-- handle_dev_display_connect: connect handle_new_display_channel: add display channel client

Re: [Spice-devel] network down lead vm been shutdown

2013-05-02 Thread bigclouds
infos: spice-server-0.10.1-10.el6.x86_64,centos 6.3 At 2013-05-02 17:49:02,bigclouds bigclo...@163.com wrote: hi,all the connection between remote-viewer and guest is good, now unplug Network Cable, wait several minutes, then kill virt-viewer. now guest will be shutdwn. ---winxp.log

Re: [Spice-devel] network down lead vm been shutdown

2013-05-02 Thread bigclouds
(in qemu-kvm) that should have been fixed in RHEL 6.3. Could you retest on centos 6.4, please? There were similar bugs fixed in 6.4 cycle. David bigclouds píše v Čt 02. 05. 2013 v 18:17 +0800: infos: spice-server-0.10.1-10.el6.x86_64,centos 6.3 At 2013-05-02 17:49:02,bigclouds

[Spice-devel] if read-write perm on redirected usb is controllabe in guestVM

2013-04-24 Thread bigclouds
hi,all if read-write perm on redirected usb is controllabe in guestVM thanks___ Spice-devel mailing list Spice-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/spice-devel

Re: [Spice-devel] if read-write perm on redirected usb is controllabe in guestVM

2013-04-24 Thread bigclouds
if qemu can control its R/W? At 2013-04-24 19:14:20,David Jaša dj...@redhat.com wrote: The device is redirected as-is so the guest VM has full control of it, including R/W settings of devices where such settings are applicable. David bigclouds píše v St 24. 04. 2013 v 16:35 +0800: hi,all

Re: [Spice-devel] how to limit each spice-client only can access its own usb device

2013-04-23 Thread bigclouds
to limit one person's usb-storage is only can be seen by its host. thanks At 2013-04-22 15:26:29,Hans de Goede hdego...@redhat.com wrote: Hi, On 04/22/2013 04:01 AM, bigclouds wrote: hi,all i use thin client to visit guestVM(throught spice), if i attach usb device to thin client, how

[Spice-devel] how to limit each spice-client only can access its own usb device

2013-04-21 Thread bigclouds
hi,all i use thin client to visit guestVM(throught spice), if i attach usb device to thin client, how to assure that this usb can be only accessed by the guestVM corresponding to thin client? thanks___ Spice-devel mailing list

[Spice-devel] spicec failed to connect spice-server, error code 111

2013-03-14 Thread bigclouds
spicec -h HOST -p 5900 -s 5901 --ca-file file.pem warning:fialed to connect : connection refused(111) 1363262333 INFO [12182:12182] Application::main: starting 0.8.3 1363262333 INFO [12182:12182] init_key_map: using evdev mapping 1363262333 INFO [12182:12182] MultyMonScreen::MultyMonScreen:

Re: [Spice-devel] [Users] spicec failed to connect spice-server, error code 111

2013-03-14 Thread bigclouds
) 1363316293 DEBUG [10096:10096] cleanup: At 2013-03-14 20:33:32,David Jaša dj...@redhat.com wrote: could you post debug log, i.e. with SPICEC_LOG_LEVEL environment variable set to 0 (zero)? David bigclouds píše v Čt 14. 03. 2013 v 20:10 +0800: spicec -h HOST -p 5900 -s 5901 --ca-file