[Qemu-devel] Patches from pkgsrc for 0.9.1

2008-01-16 Thread Rumko
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After more than 10 hours the article still didn't show up, so I'm resending just in case Some patches are present in pkgsrc that should be sent upstream, so I have attached the patches and some information about the patches below. patch-aa: some

Re: [Qemu-devel] [PATCH] add VNC reverse connections

2008-01-16 Thread Avi Kivity
Eddie Kohler wrote: Hi all, This patch against current CVS adds VNC reverse connections, where the server connects actively to a waiting client, as in -vnc rev:5500 or -vnc rev:read.cs.ucla.edu:5500. This is quite useful if the user expects to run QEMU many times in succession (for example,

[Qemu-devel] QEMU static build

2008-01-16 Thread Salil Bijur
Hello, I've been trying to build QEMU statically by first configuring it using the --static option. The compiling gives me the same linker errors as mentioned here: http://www.mail-archive.com/qemu-devel@nongnu.org/msg10721.html I know this has been asked before but it hasn't been followed up.

Re: [Qemu-devel] QEMU static build

2008-01-16 Thread Mulyadi Santosa
Hi On Jan 16, 2008 5:20 PM, Salil Bijur [EMAIL PROTECTED] wrote: Hello, I've been trying to build QEMU statically by first configuring it using the --static option. The compiling gives me the same linker errors as mentioned here:

Re: [Qemu-devel] QEMU static build

2008-01-16 Thread Salil Bijur
On Jan 16, 2008 4:48 PM, Mulyadi Santosa [EMAIL PROTECTED] wrote: Hi On Jan 16, 2008 5:20 PM, Salil Bijur [EMAIL PROTECTED] wrote: Hello, I've been trying to build QEMU statically by first configuring it using the --static option. The compiling gives me the same linker errors as

Re: [Qemu-devel] [RFC][PATCH] Modify loop device to be able to managepartitions of the image disk

2008-01-16 Thread Sergey Bychkov
All comments are welcome, perhaps it is stupid idea... Exellent thing. I wonder why loop device in linux kernel haven't this functionality yet. Don't You think to try to add this patch to linux kernel source tree? Sergey Bychkow ICQ: 21014758 FTN: 2:450/118.55

Re: [Qemu-devel] QEMU static build

2008-01-16 Thread Christian Ehrhardt
Salil Bijur wrote: On Jan 16, 2008 4:48 PM, Mulyadi Santosa [EMAIL PROTECTED] wrote: Hi On Jan 16, 2008 5:20 PM, Salil Bijur [EMAIL PROTECTED] wrote: Hello, I've been trying to build QEMU statically by first configuring it using the --static option. The compiling gives me the same linker

[Qemu-devel] Re: [kvm-ppc-devel] The default for char Literals differ in signedness between platforms causing us a lot of warnings

2008-01-16 Thread Christian Ehrhardt
Hi, the following discussion is from kvm-ppc-devel, but it is actually an qemu discussion so I move th topic to qemu-devel. The original thread is cited in the mail below, in short the issue is the following: Newer gcc versions generate warnings about implicit casts between different signed

Re: [Qemu-devel] [PATCH] add VNC reverse connections

2008-01-16 Thread Daniel P. Berrange
On Tue, Jan 15, 2008 at 11:27:15PM -0800, Eddie Kohler wrote: Hi all, This patch against current CVS adds VNC reverse connections, where the server connects actively to a waiting client, as in -vnc rev:5500 or -vnc rev:read.cs.ucla.edu:5500. This is quite useful if the user expects to

Re: [Qemu-devel] [RFC][PATCH] Modify loop device to be able to managepartitions of the image disk

2008-01-16 Thread Laurent Vivier
Le mercredi 16 janvier 2008 à 13:51 +0200, Sergey Bychkov a écrit : All comments are welcome, perhaps it is stupid idea... Exellent thing. I wonder why loop device in linux kernel haven't this functionality yet. Don't You think to try to add this patch to linux kernel source tree? Yes,

Re: [Qemu-devel] Re: [kvm-ppc-devel] The default for char Literals differ in signedness between platforms causing us a lot of warnings

2008-01-16 Thread Andre Przywara
Christian, Newer gcc versions generate warnings about implicit casts between different signed pointers. That hits a lot of qemu code at least what I saw it compiling for ppc or x86. So my question is, is there already a preferred qemu approach to get rid of these warnings either the

Re: [Qemu-devel] QEMU static build

2008-01-16 Thread Christian Ehrhardt
Salil Bijur wrote: On Jan 16, 2008 5:59 PM, Christian Ehrhardt [EMAIL PROTECTED] wrote: Salil Bijur wrote: On Jan 16, 2008 4:48 PM, Mulyadi Santosa [EMAIL PROTECTED] wrote: Hi On Jan 16, 2008 5:20 PM, Salil Bijur [EMAIL PROTECTED] wrote: Hello, I've been trying to build QEMU statically by

Re: [Qemu-devel] QEMU static build

2008-01-16 Thread Salil Bijur
On Jan 16, 2008 5:59 PM, Christian Ehrhardt [EMAIL PROTECTED] wrote: Salil Bijur wrote: On Jan 16, 2008 4:48 PM, Mulyadi Santosa [EMAIL PROTECTED] wrote: Hi On Jan 16, 2008 5:20 PM, Salil Bijur [EMAIL PROTECTED] wrote: Hello, I've been trying to build QEMU statically by first

Re: [kvm-devel] [Qemu-devel] Re: [RFC][PATCH] Modify loop device to be able to manage partitions of the image disk

2008-01-16 Thread Anthony Liguori
Laurent Vivier wrote: Le mardi 15 janvier 2008 à 23:54 +, Daniel P. Berrange a écrit : On Wed, Jan 16, 2008 at 12:40:06AM +0100, Laurent Vivier wrote: Le mardi 15 janvier 2008 à 18:27 +, Daniel P. Berrange a écrit : On Tue, Jan 15, 2008 at 07:22:53PM +0100, Laurent

Re: [Qemu-devel] [PATCH] add VNC reverse connections

2008-01-16 Thread Anthony Liguori
Daniel P. Berrange wrote: On Tue, Jan 15, 2008 at 11:27:15PM -0800, Eddie Kohler wrote: Hi all, This patch against current CVS adds VNC reverse connections, where the server connects actively to a waiting client, as in -vnc rev:5500 or -vnc rev:read.cs.ucla.edu:5500. This is quite useful

Re: [Qemu-devel] [PATCH] add VNC reverse connections

2008-01-16 Thread Eddie Kohler
Daniel P. Berrange wrote: We already have the ability to pass multiple flags / options to the VNC driver as a post-fix to the host:port pair, so I'm not a fan of introducing a new option as a prefix. If using existing options syntax, it could look like: -vnc :5500,rev -vnc

Re: [Qemu-devel] QEMU static build

2008-01-16 Thread Thiemo Seufer
Salil Bijur wrote: [snip] But there are further linker errors with respect to libasound (for ALSA) and libSDL. This can be solved by adding -ldl, -lartsc, etc. for every dependency of these libs but would be very tedious, especially for libSDL. Any better solution? The question

Re: [kvm-devel] [Qemu-devel] Re: [RFC][PATCH] Modify loop device to be able to manage partitions of the image disk

2008-01-16 Thread Laurent Vivier
Le mercredi 16 janvier 2008 à 08:57 -0600, Anthony Liguori a écrit : Le mardi 15 janvier 2008 à 23:54 +, Daniel P. Berrange a écrit : [...] 2- I'd like to mount qcow2 or others disk image formats, so perhaps it's easier to modify loop device driver (but perhaps you know another magic

Re: [Qemu-devel] [PATCH] add VNC reverse connections

2008-01-16 Thread Anthony Liguori
Eddie Kohler wrote: Daniel P. Berrange wrote: We already have the ability to pass multiple flags / options to the VNC driver as a post-fix to the host:port pair, so I'm not a fan of introducing a new option as a prefix. If using existing options syntax, it could look like: -vnc :5500,rev

Re: [Qemu-devel] [PATCH] add VNC reverse connections

2008-01-16 Thread Daniel P. Berrange
On Wed, Jan 16, 2008 at 07:09:03AM -0800, Eddie Kohler wrote: Daniel P. Berrange wrote: We already have the ability to pass multiple flags / options to the VNC driver as a post-fix to the host:port pair, so I'm not a fan of introducing a new option as a prefix. If using existing options

[Qemu-devel] Patches from pkgsrc for 0.9.1

2008-01-16 Thread Rumko
Some patches are present in pkgsrc that should be sent upstream, so I have attached the patches and some information about the patches below. patch-aa: some machines have machine/bswap.h instead of byteswap.h patch-ab: qemu (op.c) shouldn't be compiled with the stack-protector turned on, so this

Re: [Qemu-devel] qemu vnc.c

2008-01-16 Thread Anders Melchiorsen
Anders Melchiorsen [EMAIL PROTECTED] writes: --- a/qemu/vl.c +++ b/qemu/vl.c @@ -4902,13 +4902,6 @@ static void dumb_resize(DisplayState *ds, int w, int h) { } -static void dumb_refresh(DisplayState *ds) -{ -#if defined(CONFIG_SDL) -vga_hw_update(); -#endif -} - static void

Re: [Qemu-devel] [PATCH] add VNC reverse connections

2008-01-16 Thread Anthony Liguori
Daniel P. Berrange wrote: On Wed, Jan 16, 2008 at 07:09:03AM -0800, Eddie Kohler wrote: Daniel P. Berrange wrote: We already have the ability to pass multiple flags / options to the VNC driver as a post-fix to the host:port pair, so I'm not a fan of introducing a new option as a

Re: [Qemu-devel] [PATCH] add VNC reverse connections

2008-01-16 Thread Eddie Kohler
Anthony Liguori wrote: This doesn't feel like an option to me, though; rather a different means of connecting. Among other things, in -vnc :0, the QEMU VNC server opens port 5900. But the client's listening port for reverse connections defaults to 5500. -vnc :-400,rev is clearly insane,

[Qemu-devel] Motivation of BIOS patch?

2008-01-16 Thread H. Peter Anvin
I saw the following patch in the Qemu source: Index: rombios.c === RCS file: /cvsroot/bochs/bochs/bios/rombios.c,v retrieving revision 1.174 diff -u -w -r1.174 rombios.c --- rombios.c 17 Oct 2006 16:48:05 - 1.174 +++