Re: [Qemu-devel] compile qemu

2010-08-14 Thread Stefan Hajnoczi
On Sun, Aug 15, 2010 at 5:17 AM, chandra shekar wrote: > how to compile qemu using gcc when i compile it is giving so many > errors,thank you In order to get help you need to post the build output (compiler error messages) and you gcc version. Also see the "Latest version in Git doesn't link - a

[Qemu-devel] compile qemu

2010-08-14 Thread chandra shekar
how to compile qemu using gcc when i compile it is giving so many errors,thank you

Re: [Qemu-devel] [PATCH 1/2] Add kvm_set_ioeventfd_mmio_long definition for non-KVM systems

2010-08-14 Thread Cam Macdonell
On Sat, Aug 14, 2010 at 11:24 AM, Andreas Färber wrote: > Am 11.08.2010 um 20:16 schrieb Cam Macdonell: > >> --- >> kvm-stub.c |    5 + >> 1 files changed, 5 insertions(+), 0 deletions(-) >> >> diff --git a/kvm-stub.c b/kvm-stub.c >> index 3378bd3..d45f9fa 100644 >> --- a/kvm-stub.c >> +++ b/k

[Qemu-devel] [PATCH 2/2] RESEND: Disable build of ivshmem on non-KVM systems

2010-08-14 Thread Cam Macdonell
Signed-off-by: Cam Macdonell --- Makefile.target |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile.target b/Makefile.target index b791492..c8281e9 100644 --- a/Makefile.target +++ b/Makefile.target @@ -191,7 +191,7 @@ obj-y += rtl8139.o obj-y += e1000.o # Inte

[Qemu-devel] [PATCH 1/2] RESEND: Add kvm_set_ioeventfd_mmio_long definition for non-KVM systems

2010-08-14 Thread Cam Macdonell
Signed-off-by: Cam Macdonell --- kvm-stub.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/kvm-stub.c b/kvm-stub.c index 3378bd3..d45f9fa 100644 --- a/kvm-stub.c +++ b/kvm-stub.c @@ -136,3 +136,8 @@ int kvm_set_ioeventfd_pio_word(int fd, uint16_t addr, uint16_t val,

Re: [Qemu-devel] Re: Latest version in Git doesn't link - any ideas?

2010-08-14 Thread Cam Macdonell
Yup, it was my patch. Sorry about that. Patches are in the list, just need to be merged. Cam On Sat, Aug 14, 2010 at 4:18 PM, Stefan Weil wrote: > Am 14.08.2010 23:35, schrieb Nigel Horne: >> >> I've seen some activity in this area of late, but the code still fails to >> link.  Any clues anyon

Re: [Qemu-devel] Re: Latest version in Git doesn't link - any ideas?

2010-08-14 Thread Stefan Weil
Am 14.08.2010 23:35, schrieb Nigel Horne: I've seen some activity in this area of late, but the code still fails to link. Any clues anyone? make distclean ./configure --enable-linux-aio --enable-io-thread --enable-kvm make ... LINK arm-softmmu/qemu-system-arm ivshmem.o: In function `ivshmem_mm

[Qemu-devel] Re: Latest version in Git doesn't link - any ideas?

2010-08-14 Thread Nigel Horne
I've seen some activity in this area of late, but the code still fails to link. Any clues anyone? make distclean ./configure --enable-linux-aio --enable-io-thread --enable-kvm make ... LINK arm-softmmu/qemu-system-arm ivshmem.o: In function `ivshmem_mmio_map': ivshmem.c:(.text+0x80f): undefined

[Qemu-devel] Re: [PATCH] TCG: Revert ppc64 tcg_out_movi32 change

2010-08-14 Thread malc
On Sat, 14 Aug 2010, Andreas F?rber wrote: > 3b6dac34161bc0a342336072643c2f6d17e0ec45 apparently broke the ppc64 TCG target > compilation in the code path without guest base. Thanks. Applied. > > Reverting this line fixes the build. > > Signed-off-by: Andreas F?rber > Cc: malc > Cc: Aurelien

[Qemu-devel] [PATCH] TCG: Revert ppc64 tcg_out_movi32 change

2010-08-14 Thread Andreas Färber
3b6dac34161bc0a342336072643c2f6d17e0ec45 apparently broke the ppc64 TCG target compilation in the code path without guest base. Reverting this line fixes the build. Signed-off-by: Andreas Färber Cc: malc Cc: Aurelien Jarno Cc: Richard Henderson --- tcg/ppc64/tcg-target.c |2 +- 1 files c

[Qemu-devel] Re: [PATCH] TCG: Fix Darwin/ppc calling convention recognition

2010-08-14 Thread malc
On Sat, 14 Aug 2010, Andreas F?rber wrote: > 5da79c86a3744e3a901c7986c109dd06951befd2 broke compilation on Mac OS X > v10.5 ppc. Apple's GCC 4.0.1 does not define _CALL_DARWIN. Recognize > __APPLE__ again as well. Thanks. Applied. > > Signed-off-by: Andreas F?rber > Cc: malc > Cc: Paolo Bon

[Qemu-devel] [PATCH] TCG: Fix Darwin/ppc calling convention recognition

2010-08-14 Thread Andreas Färber
5da79c86a3744e3a901c7986c109dd06951befd2 broke compilation on Mac OS X v10.5 ppc. Apple's GCC 4.0.1 does not define _CALL_DARWIN. Recognize __APPLE__ again as well. Signed-off-by: Andreas Färber Cc: malc Cc: Paolo Bonzini Cc: Jürgen Lock Cc: Stefan Weil --- Been using a similar patch for s

Re: [Qemu-devel] Networking problems

2010-08-14 Thread Mulyadi Santosa
On Fri, Aug 13, 2010 at 03:15, Daniel Carrera wrote: > Unfortunately, that's as far as it goes. It still cannot go online. > When NetBSD tries to "ping 10.0.2.3" (gateway I think) it just gets > 100% packet loss. Let me show you qemu's output on the command line: ping is "neglected" in user mode

Re: [Qemu-devel] [PATCH 1/2] Add kvm_set_ioeventfd_mmio_long definition for non-KVM systems

2010-08-14 Thread Andreas Färber
Am 11.08.2010 um 20:16 schrieb Cam Macdonell: --- kvm-stub.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/kvm-stub.c b/kvm-stub.c index 3378bd3..d45f9fa 100644 --- a/kvm-stub.c +++ b/kvm-stub.c @@ -136,3 +136,8 @@ int kvm_set_ioeventfd_pio_word(int fd, uint16_t a

Re: [Qemu-devel] Unmaintained QEMU builds

2010-08-14 Thread Andreas Färber
Hi, Am 11.08.2010 um 12:58 schrieb Stefan Weil: since several months, QEMU for Windows (and mingw32 cross builds) no longer builds without error. I suspect that the same is true for QEMU on Darwin (lots of errors like darwin-user/qemu.h:149: error: cast to pointer from integer of different

Re: [Qemu-devel] Re: [PATCH 3/5] CODING_STYLE: add memory management rules

2010-08-14 Thread Andreas Färber
Am 14.08.2010 um 12:02 schrieb Blue Swirl: On Fri, Aug 13, 2010 at 9:56 PM, malc wrote: In any case, what i wanted to convey, but failed, is that this doesn't, in my opinion, belong to the CODING_STYLE. Well, this is not coding style but architectural guide. We could introduce a new document

Re: [Qemu-devel] [PATCH 1/5] CODING_STYLE: add preprocessor rules

2010-08-14 Thread Andreas Färber
Am 13.08.2010 um 18:56 schrieb Blue Swirl: +Use parenthesis when checking if a macro is defined, and use +indentation to track nesting: + +#if defined(HAVE_POSIX_FALLOCATE) && !defined(HAVE_FALLOCATE) +# define fallocate(a,ignored,b,c) posix_fallocate(a,b,c) +#endif This one is new, current co

Re: [Qemu-devel] Re: [PATCH 3/5] CODING_STYLE: add memory management rules

2010-08-14 Thread Blue Swirl
On Fri, Aug 13, 2010 at 9:56 PM, malc wrote: > On Fri, 13 Aug 2010, Blue Swirl wrote: > >> On Fri, Aug 13, 2010 at 9:01 PM, malc wrote: >> > On Fri, 13 Aug 2010, Blue Swirl wrote: >> > >> >> On Thu, Aug 12, 2010 at 5:50 PM, Blue Swirl wrote: >> >> > Add memory management rules, somewhat like lib