[Qemu-devel] Re: [PATCH] block: Fix compilation with DEBUG defined

2010-05-20 Thread Riccardo Magliocchetti
Il 20/05/2010 10:43, Kevin Wolf ha scritto: Am 19.05.2010 22:53, schrieb Riccardo Magliocchetti: gcc does not like passing a NULL where an int value is expected: block/vvfat.c: In function ‘checkpoint’: block/vvfat.c:2868: error: passing argument 2 of ‘remove_mapping’ makes integer from

[Qemu-devel] [PATCH] block: Fix compilation with DEBUG defined

2010-05-19 Thread Riccardo Magliocchetti
gcc does not like passing a NULL where an int value is expected: block/vvfat.c: In function ‘checkpoint’: block/vvfat.c:2868: error: passing argument 2 of ‘remove_mapping’ makes integer from pointer without a cast Signed-off-by: Riccardo Magliocchetti --- block/vvfat.c |2 +- 1 files

[Qemu-devel] [PATCH] linux-user: Fix compilation with DEBUG defined

2010-05-19 Thread Riccardo Magliocchetti
Signed-off-by: Riccardo Magliocchetti --- linux-user/flatload.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/flatload.c b/linux-user/flatload.c index 6a2c3f9..914de1f 100644 --- a/linux-user/flatload.c +++ b/linux-user/flatload.c @@ -338,7 +338,7 @@ failed

Re: [Qemu-devel] Latest git does not compile target_to_host_rlim()

2010-05-19 Thread Riccardo Magliocchetti
Il 19/05/2010 19:19, Aurelien Jarno ha scritto: On Wed, May 19, 2010 at 07:09:55PM +0200, Riccardo Magliocchetti wrote: Il 19/05/2010 18:38, Aurelien Jarno ha scritto: On Wed, May 19, 2010 at 01:51:35PM +0200, Riccardo Magliocchetti wrote: Hello, latest git does not compile on debian sid 32

[Qemu-devel] [PATCH 1/3] Rename DEBUG field to TC_DEBUG to avoid name clashes

2010-05-19 Thread Riccardo Magliocchetti
Some files use DEBUG as a preprocessor conditionals to enable debug code and i find handy to pass -DDEBUG as extra cflags at configure time. Unfortunately this cannot be done if DEBUG name is used for other purposes. Signed-off-by: Riccardo Magliocchetti --- hw/tc6393xb.c |8 1

[Qemu-devel] [PATCH 2/3] Rename DEBUG macro to MSIX_LOG to avoid name clashes

2010-05-19 Thread Riccardo Magliocchetti
Some files use DEBUG as a preprocessor conditionals to enable debug code and i find handy to pass -DDEBUG as extra cflags at configure time. Unfortunately this cannot be done if DEBUG name is used for other purposes. Signed-off-by: Riccardo Magliocchetti --- hw/msix.c |4 ++-- 1 files

[Qemu-devel] [PATCH 3/3] Rename DEBUG define to E1000_DEBUG to avoid name clashes

2010-05-19 Thread Riccardo Magliocchetti
Some files use DEBUG as a preprocessor conditionals to enable debug code and i find handy to pass -DDEBUG as extra cflags at configure time. Unfortunately this cannot be done if DEBUG name is used for other purposes. Signed-off-by: Riccardo Magliocchetti --- hw/e1000.c |4 ++-- 1 files

[Qemu-devel] [PATCH 0/3] Cleanup usage of DEBUG name

2010-05-19 Thread Riccardo Magliocchetti
Some files use DEBUG as a preprocessor conditionals to enable debug code and i find handy to pass -DDEBUG as extra cflags at configure time. Unfortunately this cannot be done if DEBUG name is used for other purposes. Riccardo Magliocchetti (3): Rename DEBUG field to TC_DEBUG to avoid name

Re: [Qemu-devel] Latest git does not compile target_to_host_rlim()

2010-05-19 Thread Riccardo Magliocchetti
Il 19/05/2010 18:38, Aurelien Jarno ha scritto: On Wed, May 19, 2010 at 01:51:35PM +0200, Riccardo Magliocchetti wrote: Hello, latest git does not compile on debian sid 32 bit (kernel 64 bit), gcc 4.4.4: CCalpha-linux-user/syscall.o cc1: warnings being treated as errors /home/rm/src

[Qemu-devel] [PATCH 1/3] Fix typo in balloon help

2010-05-19 Thread Riccardo Magliocchetti
Fix launchpad #563883 Signed-off-by: Riccardo Magliocchetti --- qemu-monitor.hx |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-monitor.hx b/qemu-monitor.hx index a8f194c..ed7def9 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -979,7 +979,7 @@ ETEXI

[Qemu-devel] [PATCH 2/3] Fix __VA__ARGS__ typo in cris mmu.c

2010-05-19 Thread Riccardo Magliocchetti
Fix compilation with DEBUG defined Signed-off-by: Riccardo Magliocchetti --- target-cris/mmu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-cris/mmu.c b/target-cris/mmu.c index 2a5ded8..d09e921 100644 --- a/target-cris/mmu.c +++ b/target-cris/mmu.c @@ -31,7

[Qemu-devel] [PATCH 3/3] Fix hw/gt64xxx.c compilation with DEBUG defined

2010-05-19 Thread Riccardo Magliocchetti
Use TARGET_FMT_plx as format placeholder for target_phys_addr_t Signed-off-by: Riccardo Magliocchetti --- hw/gt64xxx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/gt64xxx.c b/hw/gt64xxx.c index 55971b9..7691e1d 100644 --- a/hw/gt64xxx.c +++ b/hw/gt64xxx.c

[Qemu-devel] [RFC] Bug Day - June 1st, 2010

2010-05-19 Thread Riccardo Magliocchetti
Hello, i have quite a few free time in these days so i've anticipated the bug day and started looking for some low hanging fruit. I've found a couple of sf.net bugs that are obsoleted / fixed: - Compilation fails when configure with -DDEBUG #1945129 : code has been updated and the issue is n

[Qemu-devel] latest git target-sparc/translate.c does not compile with --disable-kvm --enable-debug

2010-05-19 Thread Riccardo Magliocchetti
]: *** [translate.o] Error 1 make: *** [subdir-sparc64-softmmu] Error 2 thanks, Riccardo Magliocchetti

[Qemu-devel] Latest git does not compile target_to_host_rlim()

2010-05-19 Thread Riccardo Magliocchetti
constant is too large for ‘unsigned long’ type /home/rm/src/qemu/linux-user/syscall.c: In function ‘host_to_target_rlim’: /home/rm/src/qemu/linux-user/syscall.c:845: error: integer constant is too large for ‘unsigned long’ type thanks, Riccardo Magliocchetti