Re: [Spice-devel] Spice-devel Digest, Vol 32, Issue 14

2012-09-05 Thread 王小妹
can someone help me to solove the following problems, thanks! 1>Generating old demarshaller 1>Traceback (most recent call last): 1> File "..\..\spice-common\spice_codegen.py", line 7, in 1>from python_modules import spice_parser 1>ImportError: No module named python_modules 1>Traceback (most

Re: [Spice-devel] [spice-html5] implement handing of MJPEG display streams

2012-09-05 Thread Jeremy White
On 08/27/2012 11:21 AM, Jeremy White wrote: > ACK > > On 08/27/2012 10:59 AM, Aric Stewart wrote: >> Signed-off-by: Aric Stewart I did just check, and I don't have write access, so I can't push this myself. Help? Thanks, Jeremy ___ Spice-devel maili

Re: [Spice-devel] [rebase] Implement spice_server_set_exit_on_disconnect to enable an option whereby the spice server shuts down on client disconnect.

2012-09-05 Thread Alon Levy
oops, I think I acked this already, I'll apply now. Sorry Soren, you'll have to rebase your configure change. - Original Message - > --- > configure.ac |6 +++--- > server/reds.c| 14 ++ > server/spice-server.syms |4 > server/spice.h

[Spice-devel] [rebase] Implement spice_server_set_exit_on_disconnect to enable an option whereby the spice server shuts down on client disconnect.

2012-09-05 Thread Jeremy White
--- configure.ac |6 +++--- server/reds.c| 14 ++ server/spice-server.syms |4 server/spice.h |1 + 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index cb7bed1..3882fb6 100644 --- a/confi

Re: [Spice-devel] [ spice-devel ] libspice server segfault

2012-09-05 Thread nicolas prochazka
same test, but core dump shows us differents things. p item after the segfault tells no symbol item in current context Nicolas (/usr/local/bin/qemu:6512): SpiceWorker-ERROR **: ../spice-common/common/ring.h:84:ring_remove: assertion `item->next != NULL && item->prev != NULL' failed Aborted (core

Re: [Spice-devel] [PATCH] add registry key "DisableSurfaces"

2012-09-05 Thread Alon Levy
> ack w minor notes All correct, I'll fix and push. > > Alon Levy wrote: > > Presence of the key disables off screen surfaces creation; The > > callback > > is still registered, but it always fails. > > > > Registry key is checked on device initialization only, not during > > runtime, so you mus

Re: [Spice-devel] [PATCH] add registry key "DisableSurfaces"

2012-09-05 Thread Arnon Gilboa
ack w minor notes Alon Levy wrote: Presence of the key disables off screen surfaces creation; The callback is still registered, but it always fails. Registry key is checked on device initialization only, not during runtime, so you must reset the vm to see any affects. --- display/driver.c

Re: [Spice-devel] [ spice-devel ] libspice server segfault

2012-09-05 Thread Alon Levy
> Yes it happens with and without -vnc qemu cmdline > Nicolas > 2012/9/5 Alon Levy : Right after the segfault, before "thread apply all bt", can you please run p item p item->next info locals Thanks, Alon > >> and with all threads : > >> > >> bego3 ~ # cat /storage/tmp/log6 > >> warning: Unable

Re: [Spice-devel] [ spice-devel ] libspice server segfault

2012-09-05 Thread nicolas prochazka
Yes it happens with and without -vnc qemu cmdline Nicolas 2012/9/5 Alon Levy : >> and with all threads : >> >> bego3 ~ # cat /storage/tmp/log6 >> warning: Unable to find libthread_db matching inferior's thread >> library, thread debugging will not be available. >> Core was generated by `/usr/local

Re: [Spice-devel] [ spice-devel ] libspice server segfault

2012-09-05 Thread Alon Levy
> and with all threads : > > bego3 ~ # cat /storage/tmp/log6 > warning: Unable to find libthread_db matching inferior's thread > library, thread debugging will not be available. > Core was generated by `/usr/local/bin/qemu -name xpvirtser001 > -readconfig /etc/ich9-ehci-uhci.cfg -dev'. > Program

Re: [Spice-devel] [ spice-devel ] libspice server segfault

2012-09-05 Thread nicolas prochazka
and with all threads : bego3 ~ # cat /storage/tmp/log6 warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. Core was generated by `/usr/local/bin/qemu -name xpvirtser001 -readconfig /etc/ich9-ehci-uhci.cfg -dev'. Program terminated with

Re: [Spice-devel] [ spice-devel ] libspice server segfault

2012-09-05 Thread nicolas prochazka
Hello, With the help of Alon, i can produce debug information : Core was generated by `/usr/local/bin/qemu -name xpvirtser001 -readconfig /etc/ich9-ehci-uhci.cfg -dev'. Program terminated with signal 11, Segmentation fault. #0 ring_add (item=, ring=) at ../spice-common/common/ring.h:61 61

[Spice-devel] [PATCH] add registry key "DisableSurfaces"

2012-09-05 Thread Alon Levy
Presence of the key disables off screen surfaces creation; The callback is still registered, but it always fails. Registry key is checked on device initialization only, not during runtime, so you must reset the vm to see any affects. --- display/driver.c | 11 +++ display/driver.rc

[Spice-devel] [PATCH spice-gtk] G_GNUC_DEPRECATED_FOR must be defined publicly

2012-09-05 Thread Marc-André Lureau
It's not enough to define G_GNUC_DEPRECATED_FOR in glib-compat.h, since this header is not public. Instead, let's define our own public SPICE_DEPRECATED_FOR macro, and clean-up double definition. --- gtk/glib-compat.h | 16 gtk/spice-util.h | 12 +++- 2 files changed, 11

Re: [Spice-devel] [PATCH] spicy: add --title= command line option

2012-09-05 Thread Uri Lublin
On 09/05/2012 12:42 PM, Dunrong Huang wrote: 2012/9/5 Uri Lublin: @@ -1907,5 +1919,9 @@ int main(int argc, char *argv[]) g_free(conf); g_key_file_free(keyfile); +if (spicy_title) { +g_free(spicy_title); +} g_free() dont need to check for NULL pointer Thanks, pushe

Re: [Spice-devel] [PATCH] spicy: add --title= command line option

2012-09-05 Thread Dunrong Huang
2012/9/5 Uri Lublin : > --- > > This simplifies using Alon's copy/paste test script, which requires > the window title string > > --- > gtk/spicy.c | 18 +- > 1 files changed, 17 insertions(+), 1 deletions(-) > > diff --git a/gtk/spicy.c b/gtk/spicy.c > index 8b3b087..1fc544b 100

Re: [Spice-devel] [PATCH] spicy: add --title= command line option

2012-09-05 Thread Marc-André Lureau
ack - Original Message - > --- > > This simplifies using Alon's copy/paste test script, which requires > the window title string > > --- > gtk/spicy.c | 18 +- > 1 files changed, 17 insertions(+), 1 deletions(-) > > diff --git a/gtk/spicy.c b/gtk/spicy.c > index 8b3b0

[Spice-devel] [PATCH] spicy: add --title= command line option

2012-09-05 Thread Uri Lublin
--- This simplifies using Alon's copy/paste test script, which requires the window title string --- gtk/spicy.c | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/gtk/spicy.c b/gtk/spicy.c index 8b3b087..1fc544b 100644 --- a/gtk/spicy.c +++ b/gtk/spicy.c @

Re: [Spice-devel] USB-redirection

2012-09-05 Thread Hans de Goede
Hi, On 09/04/2012 09:42 PM, Trebor Forban wrote: Hello spice developers, can someone help me debug the following error message, which is displayed after inserting an usb-device although all seems to work: "Could not auto-redirect ... at ...: Cannot connect an already connected usb device" Hm

Re: [Spice-devel] [PATCH] server/red_parse_qxl: fix wrong bitmap_consistent

2012-09-05 Thread Alon Levy
> Hi, > > On 09/04/2012 06:25 PM, Alon Levy wrote: > > The bit calculation was wrong for all the paletted types by a > > factor of > > between 8 and 1 (SPICE_BITMAP_FMT_{1,4,8}BIT_PLT_{LE,BE}) > > --- > > server/red_parse_qxl.c | 31 ++- > > 1 file changed, 26 insert

Re: [Spice-devel] [PATCH] server/red_parse_qxl: fix wrong bitmap_consistent

2012-09-05 Thread Hans de Goede
Hi, On 09/04/2012 06:25 PM, Alon Levy wrote: The bit calculation was wrong for all the paletted types by a factor of between 8 and 1 (SPICE_BITMAP_FMT_{1,4,8}BIT_PLT_{LE,BE}) --- server/red_parse_qxl.c | 31 ++- 1 file changed, 26 insertions(+), 5 deletions(-) dif