Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Charles . Tsai-蔡清海-研究發展部
Hi Vadim, We recently encountered with many issues with new Windows Virio driver running on Qemu 1.0 and Qemu 1.0.50. My initial investigation was found that the new Viro driver could not be installed before Qemu 1.0.50. But my colleague right now can install the new

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Arnon Gilboa
AFAIK, Spice server works only on x86_64, because it is dependent on 64-bit atomic operations. There is no known plan to port it to other architecture. See http://www.spice-space.org/page/FAQ. Fabiano Fidêncio wrote: Guys, I've been trouble using spice-protocol/spice/qemu from git, in a 32

[Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Yaniv Kaul
Yesterday's issue was fixed (with commit 837b98d043d10b1d6360d8e1079f88606b37ac84 , I think), but I'm still failing: CC generated_marshallers1.lo generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory compilation terminated. configure: Spice-Gtk

Re: [Spice-devel] [bug spice-gtk] spice-gtk memory leak

2012-03-19 Thread Yonit Halperin
On 03/16/2012 08:13 PM, Marc-André Lureau wrote: - Mensaje original - Also, running spicy under valgrind leak check tool shows quite clearly that there is nothing being leaked directly from spice-gtk, it seems. As I told you off-line, It happened to me that remote-viewer (spice-gtk

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 09:00:51AM +0200, Arnon Gilboa wrote: AFAIK, Spice server works only on x86_64, because it is dependent on 64-bit atomic operations. There is no known plan to port it to other architecture. See http://www.spice-space.org/page/FAQ. Arnon, we built it already for 32 bits,

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Vadim Rozenfeld
On Monday, March 19, 2012 08:29:41 AM Charles.Tsai-蔡清海-研究發展部 wrote: Hi Vadim, We recently encountered with many issues with new Windows Virio driver running on Qemu 1.0 and Qemu 1.0.50. My initial investigation was found that the new Viro driver could not be installed before Qemu

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 12:48:37AM -0300, Fabiano Fidêncio wrote: Guys, I've been trouble using spice-protocol/spice/qemu from git, in a 32 bits host. Could somone take a look in this issue? fidencio@sasha ~/src/spice $ sudo LD_LIBRARY_PATH=/home/fidencio/dev/lib gdb --args

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 10:10:58AM +0200, Yaniv Kaul wrote: Yesterday's issue was fixed (with commit 837b98d043d10b1d6360d8e1079f88606b37ac84 , I think), but I'm still failing: CC generated_marshallers1.lo generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 12:48:37AM -0300, Fabiano Fidêncio wrote: Guys, I've been trouble using spice-protocol/spice/qemu from git, in a 32 bits host. Could somone take a look in this issue? Please try the following patch. commit 5c3c02a581590bd746cc4c98a83f24ad40039cfa Author: Alon Levy

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 10:32:41AM +0100, Alon Levy wrote: On Mon, Mar 19, 2012 at 10:10:58AM +0200, Yaniv Kaul wrote: Yesterday's issue was fixed (with commit 837b98d043d10b1d6360d8e1079f88606b37ac84 , I think), but I'm still failing: CC generated_marshallers1.lo

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Marc-André Lureau
Hi The generated files need to be regenerated. I guess they should have build depedency on Makefile somehow.. anyway, as in countless times with build issues: git clean -dfx should get you out of trouble. On Mon, Mar 19, 2012 at 9:10 AM, Yaniv Kaul yk...@redhat.com wrote: Yesterday's issue was

Re: [Spice-devel] [PATCH spice-gtk] Use given color depth in monitor configuration

2012-03-19 Thread Christophe Fergeau
Hey, On Fri, Mar 16, 2012 at 11:48:37PM +0100, Marc-André Lureau wrote: The main channel only relied on VD_AGENT_DISPLAY_CONFIG_FLAG_SET_COLOR_DEPTH to set color depth when connecting to a guest. However, that doesn't seem to be enough. Instead send given color depth with monitor

Re: [Spice-devel] Xspice fails on F17 and Ubuntu 12.04

2012-03-19 Thread Christophe Fergeau
On Sun, Mar 18, 2012 at 08:13:14PM +0100, Alon Levy wrote: On Sun, Mar 18, 2012 at 03:57:04PM +0100, Eike Hein wrote: I'm currently using: - Pre-built SPICE bits from F16 - Git build of qxl - Windows build of remote-viewer 0.5.2 by Alon ? You mean by Christophe since I never made one. I

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Yaniv Kaul
On 03/19/2012 12:01 PM, Marc-André Lureau wrote: Hi The generated files need to be regenerated. I guess they should have build depedency on Makefile somehow.. anyway, as in countless times with build issues: git clean -dfx should get you out of trouble. It's only project I work on with which

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Christophe Fergeau
Hey, On Mon, Mar 19, 2012 at 02:29:41PM +0800, Charles.Tsai-蔡清海-研究發展部 wrote: 3. When we disable and enable the new VirtIO driver several times on either Qemu 1.0 or Qemu 1.0.50, VirtIo driver failed to work after enabling the new VirtIO driver. For what it's worth, Alon Levy

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Christophe Fergeau
On Mon, Mar 19, 2012 at 10:19:29AM +0100, Alon Levy wrote: The address translation logic is probably assuming a long is 64 bits, and needs to be fixed. The stack trace is pointing you at the right place.. I think get_memslot_id/get_virt and all along should switch unsigned long with uint64_t.

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Charles . Tsai-蔡清海-研究發展部
Christophe, Great!, we finally are at the same page. -Original Message- From: Christophe Fergeau [mailto:cferg...@redhat.com] Sent: Monday, March 19, 2012 6:13 PM To: Charles.Tsai-蔡清海-研究發展部 Cc: Vadim Rozenfeld; qemu-devel; Michael Roth; Paul Lu-盧偉智-研究發展部;

[Spice-devel] USB redirection on spicy client

2012-03-19 Thread suyi wang
HI all: I tried to install spicy on my OS(Fedora 16 i386), following the page: http://hansdegoede.livejournal.com/11494.html * * then I came to Step 6 building spice-gtk with usbredir support I tried this: ./autogen.sh --prefix=/usr --libdir=/usr/lib, and the privous error

Re: [Spice-devel] USB redirection on spicy client

2012-03-19 Thread Marc-André Lureau
- Original Message - HI all: I tried to install spicy on my OS(Fedora 16 i386), following the page: http://hansdegoede.livejournal.com/11494.html then I came to *** Step 6 building spice-gtk with usbredir support *** I tried this: ./autogen.sh --prefix=/usr

Re: [Spice-devel] Spice is breaking in 32 bits hosts

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 11:19:51AM +0100, Christophe Fergeau wrote: On Mon, Mar 19, 2012 at 10:19:29AM +0100, Alon Levy wrote: The address translation logic is probably assuming a long is 64 bits, and needs to be fixed. The stack trace is pointing you at the right place.. I think

Re: [Spice-devel] USB redirection on spicy client

2012-03-19 Thread Hans de Goede
Hi, On 03/19/2012 11:41 AM, suyi wang wrote: HI all: I tried to install spicy on my OS(Fedora 16 i386), following the page:http://hansdegoede.livejournal.com/11494.html Note that Fedora-16 has the latest spice-gtk available in updates-testing, so you can simply yum install it. Regards,

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 12:11:35PM +0200, Yaniv Kaul wrote: On 03/19/2012 12:01 PM, Marc-André Lureau wrote: Hi The generated files need to be regenerated. I guess they should have build depedency on Makefile somehow.. anyway, as in countless times with build issues: git clean -dfx should

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Marc-André Lureau
- Original Message - On Mon, Mar 19, 2012 at 12:11:35PM +0200, Yaniv Kaul wrote: On 03/19/2012 12:01 PM, Marc-André Lureau wrote: Hi The generated files need to be regenerated. I guess they should have build depedency on Makefile somehow.. anyway, as in countless times

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Daniel P. Berrange
On Mon, Mar 19, 2012 at 07:02:17AM -0400, Marc-André Lureau wrote: - Original Message - On Mon, Mar 19, 2012 at 12:11:35PM +0200, Yaniv Kaul wrote: On 03/19/2012 12:01 PM, Marc-André Lureau wrote: Hi The generated files need to be regenerated. I guess they should

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Marc-André Lureau
On Mon, Mar 19, 2012 at 12:05 PM, Daniel P. Berrange berra...@redhat.com wrote: That's debatable IMHO - 'make clean' should remove anything that was created by a preivous 'make'.  While 'make distclean' should remove anything created by './configure'.  If you really want to cache generated

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Daniel P. Berrange
On Mon, Mar 19, 2012 at 12:09:46PM +0100, Marc-André Lureau wrote: On Mon, Mar 19, 2012 at 12:05 PM, Daniel P. Berrange berra...@redhat.com wrote: That's debatable IMHO - 'make clean' should remove anything that was created by a preivous 'make'.  While 'make distclean' should remove

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Alon Levy
On Mon, Mar 19, 2012 at 07:02:17AM -0400, Marc-André Lureau wrote: - Original Message - On Mon, Mar 19, 2012 at 12:11:35PM +0200, Yaniv Kaul wrote: On 03/19/2012 12:01 PM, Marc-André Lureau wrote: Hi The generated files need to be regenerated. I guess they should

Re: [Spice-devel] Failing to compile spice-gtk: generated_marshallers1.c:2:25: fatal error: marshallers.h: No such file or directory

2012-03-19 Thread Marc-André Lureau
On Mon, Mar 19, 2012 at 12:22 PM, Alon Levy al...@redhat.com wrote: In this case that would mean adding a dependency on Makefile - does that make sense? +generated_demarshallers.c: $(top_srcdir)/spice.proto Makefile.am I think so. Could you test and send a patch? -- Marc-André Lureau

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Vadim Rozenfeld
On Monday, March 19, 2012 12:12:59 PM Christophe Fergeau wrote: Hey, On Mon, Mar 19, 2012 at 02:29:41PM +0800, Charles.Tsai-蔡清海-研究發展部 wrote: 3. When we disable and enable the new VirtIO driver several times on either Qemu 1.0 or Qemu 1.0.50, VirtIo driver failed to work after

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Christophe Fergeau
On Mon, Mar 19, 2012 at 01:42:21PM +0200, Vadim Rozenfeld wrote: On Monday, March 19, 2012 12:12:59 PM Christophe Fergeau wrote: Hey, On Mon, Mar 19, 2012 at 02:29:41PM +0800, Charles.Tsai-蔡清海-研究發展部 wrote: 3. When we disable and enable the new VirtIO driver several times on

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Vadim Rozenfeld
On Monday, March 19, 2012 01:16:56 PM Charles.Tsai-蔡清海-研究發展部 wrote: Vadim, What do you mean qemu configuration string? Is it the build configuration or command line option? Please let me know it. Thanks. Sorry, that was ambiguous. I need the command line in order to reproduce the problem.

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Vadim Rozenfeld
On Monday, March 19, 2012 01:56:03 PM Christophe Fergeau wrote: On Mon, Mar 19, 2012 at 01:42:21PM +0200, Vadim Rozenfeld wrote: On Monday, March 19, 2012 12:12:59 PM Christophe Fergeau wrote: Hey, On Mon, Mar 19, 2012 at 02:29:41PM +0800, Charles.Tsai-蔡清海-研究發展部 wrote: 3.

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Charles . Tsai-蔡清海-研究發展部
Vadim, My colleague will give you more information we found here. Qemu somehow in this particular case returns a wrong bar0 value. In working case, the bar0 is 0xc140. But in failure case, the bar0 is changed to 0xC141. -Original Message- From: Vadim Rozenfeld

Re: [Spice-devel] no sound throught spicy

2012-03-19 Thread Dominique Rodrigues
I don't see any reason for that (spicy, spicec and remote-viewer give me sound). Did you check that your sound devices are free before launching your VM ? : You can use the following commands for that: lsof /dev/dsp* lsof /dev/audio* (no

Re: [Spice-devel] no sound throught spicy

2012-03-19 Thread Alon Levy
On Tue, Mar 20, 2012 at 01:36:35AM +0800, suyi wang wrote: Hi all: When I use command 'spicec -h 127.0.0.1 -p 5900' , and the sound on the vm sounds well. However, when I use command 'spicy -h 127.0.0.1 -p 5900' , the sound missed.[?] I am really puzzled! Could someone help me ?

[Spice-devel] [PATCH spice-gtk] Hide cursor when it is on a different screen in server mode

2012-03-19 Thread Marc-André Lureau
When the cursor shape is changed, all the cursor channels are updated. The current code assumed that the set of the shape should show the cursor, but it should stay hidden instead. Also, when the cursor is hidden, we must invalidate its current region to redraw display. Fix:

[Spice-devel] [PATCH spice-protocol] build-sys: use git.mk

2012-03-19 Thread Marc-André Lureau
--- .gitignore| 17 Makefile.am | 21 +- configure.ac |2 + git.mk| 212 + spice/Makefile.am | 36 + 5 files changed, 252 insertions(+), 36 deletions(-) delete mode 100644 .gitignore

Re: [Spice-devel] [PATCH spice-gtk] Hide cursor when it is on a different screen in server mode

2012-03-19 Thread Hans de Goede
Ack. On 03/19/2012 07:53 PM, Marc-André Lureau wrote: When the cursor shape is changed, all the cursor channels are updated. The current code assumed that the set of the shape should show the cursor, but it should stay hidden instead. Also, when the cursor is hidden, we must invalidate its

Re: [Spice-devel] [PATCH spice-protocol] build-sys: use git.mk

2012-03-19 Thread Hans de Goede
Ack. On 03/19/2012 09:19 PM, Marc-André Lureau wrote: --- .gitignore| 17 Makefile.am | 21 +- configure.ac |2 + git.mk| 212 + spice/Makefile.am | 36 + 5 files changed, 252

Re: [Spice-devel] [Qemu-devel] Vioserial of Windows guest OS on Qemu 0.15

2012-03-19 Thread Vadim Rozenfeld
On Monday, March 19, 2012 02:48:43 PM Paul Lu-???-? wrote: Hi Vadim, Here is the configuration: /usr/local/bin/qemu-system-x86_64 \ -localtime \ -boot order=c,menu=on \ -drive file=/var/lib/libvirt/images/xxx.img \ -vga qxl \ -cdrom /home/paul/Downloads/ISO/virtio-win-0.1-15.iso \