[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 ma

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 examp

[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. An

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: > http://www.mail-archive.com/qemu-devel@nongnu.org/msg1

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 >

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 Mulyadi Santosa
Hi.. On Jan 16, 2008 6:48 PM, Salil Bijur <[EMAIL PROTECTED]> wrote: > I'm trying to build qemu-system-arm so my configure command is > "./configure --target-list=arm-softmmu --static". I need a static > build to overcome dynamic library dependency issues. Doing a 'make' > with the above configure

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 po

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 expect

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? Y

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 Samuel Thibault
Salil Bijur, le Wed 16 Jan 2008 18:29:31 +0530, a écrit : > 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 sol

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 statical

Re: [Qemu-devel] QEMU static build

2008-01-16 Thread Salil Bijur
On Jan 16, 2008 6:50 PM, Christian Ehrhardt <[EMAIL PROTECTED]> wrote: > > 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 > > > O

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 b

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 Vivie

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 use

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 read.cs.ucla.edu:5

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? > > > > >

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

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 instead of patch-ab: qemu (op.c) shouldn't be compiled with the stack-protector turned on, so this patch adds the needed -fn

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 > -} > -

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 prefix.

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 +++ rombi

[Qemu-devel] qemu-0.9.0 fedora 7, cdrom and ide emulation error

2008-01-16 Thread 许东晓
Hi, all, When I use qemu-0.9.0 to boot fedora 7 and add cdrom option, there will be some error info in the login interface and in the dmesg, such like this: ata2: DRQ=1 with device error, dev_stat 0x49 ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen ata2.00: cmd a0/00:00:00:00

Re: [Qemu-devel] qemu-0.9.0 fedora 7, cdrom and ide emulation error

2008-01-16 Thread Carlo Marcelo Arenas Belon
> Can someone tell me the exact changeset/patch to fix this issue? changeset : cvs -q diff -u -r1.63 -r1.64 hw/ide.c patch : http://thread.gmane.org/gmane.comp.emulators.qemu/19160 Carlo