The following patch includes exec-all.h in block-raw.c when QEMU_IMG is not
defined to avoid the following implicit declaration :
qemu/block-raw.c: In function `aio_signal_handler':
qemu/block-raw.c:253: warning: implicit declaration of function
`kqemu_cpu_interrupt'
Carlo
--
Index:
On 11/11/07, Paul Brook [EMAIL PROTECTED] wrote:
The attached patch starts splitting vl.h up a bit.
I've pulled out the i2c, disk and irq code.
Because I picked some of the easier ones, they can also be built once, rather
than for every target.
Obviously there's a lot left to do, but my
The following patch makes cris-softmmu compile in a 64bit host without
warnings by defining that the target CPU is 32bit explicitly and casting the
use of pointers into an uint32_t.
Carlo
---
Index: target-cris/cpu.h
===
RCS file:
On Sunday 11 November 2007, Blue Swirl wrote:
On 11/11/07, Paul Brook [EMAIL PROTECTED] wrote:
The attached patch starts splitting vl.h up a bit.
I understand Fabrice's concern about small files, but I think this is
the right direction.
Ok, I'll try to keep them to a minimum. e.g. I can
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/11 11:43:27
Modified files:
. : block-raw.c
Log message:
block-raw/kqemu fix.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/block-raw.c?cvsroot=qemur1=1.26r2=1.27
On Sunday 11 November 2007, Carlo Marcelo Arenas Belon wrote:
The following patch includes exec-all.h in block-raw.c when QEMU_IMG is
not defined to avoid the following implicit declaration :
I applied a slightly different version, thanks.
Paul
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/11 12:02:33
Modified files:
hw : mips_r4k.c
Log message:
mips_r4k warning fixes.
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 12:35:55
Modified files:
target-alpha : op_helper.c
target-arm : op_helper.c
target-cris: op_helper.c
target-m68k: op_helper.c
On Sunday 11 November 2007, Carlo Marcelo Arenas Belon wrote:
as shown by the following warning when compiling HEAD :
qemu/target-sh4/translate.c: In function `cpu_sh4_reset':
qemu/target-sh4/translate.c:139: warning: overflow in implicit constant
conversion
...
the following patch
On Sun, Nov 11, 2007 at 12:35:55PM +, Fabrice Bellard wrote:
Modified files:
target-alpha : op_helper.c
target-arm : op_helper.c
target-cris: op_helper.c
target-m68k: op_helper.c
target-ppc : op_helper.c
Log message:
fixed
On 11/11/2007, Carlo Marcelo Arenas Belon [EMAIL PROTECTED] wrote:
On Sun, Nov 11, 2007 at 12:35:55PM +, Fabrice Bellard wrote:
Modified files:
target-alpha : op_helper.c
target-arm : op_helper.c
target-cris: op_helper.c
target-m68k: op_helper.c
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 14:26:48
Modified files:
. : Makefile.target arm-semi.c exec.c m68k-semi.c
softmmu-semi.h
linux-user : elfload.c flatload.c
I'm getting this error compiling hw/sh7750.c
I believe the problem comes from the include in hw/sh_intc.h
with the macro
#define _INTC_ARRAY(a) a, sizeof(a)/sizeof(*a)
in line 587 of hw/7750.c, I see
sh_intc_register_sources(s-intc,
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/11 14:36:36
Modified files:
target-arm : translate.c
Log message:
Fix msr_mask.
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 14:43:13
Modified files:
tests : test-i386.c
Log message:
compilation fixes
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/11 14:44:28
Modified files:
hw : ppc_chrp.c ppc_oldworld.c ppc_prep.c
Log message:
Fix PowerPC boot device selection.
Fix gcc warning in PowerPC PreP machine init
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 14:46:06
Modified files:
linux-user : main.c
Log message:
-strace option
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 14:50:32
Modified files:
linux-user : vm86.c
Log message:
fixed error codes
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Paul Brook pbrook 07/11/11 14:52:02
Modified files:
. : gdbstub.c
Log message:
Fix format mismatch.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/gdbstub.c?cvsroot=qemur1=1.69r2=1.70
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 14:57:14
Modified files:
linux-user : syscall.c
Log message:
no longer use get_errno for do_modify_ldt()
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 15:11:20
Modified files:
linux-user : syscall.c
Log message:
move get_errno() inside do_fcntl()
CVSWeb URLs:
The following patch changes the formatting string from %08x to TARGET_FMT_plx
to accommodate for 64bit hosts.
Carlo
---
Index: hw/sh7750.c
===
RCS file: /sources/qemu/qemu/hw/sh7750.c,v
retrieving revision 1.9
diff -u -r1.9 sh7750.c
On Sun, Nov 11, 2007 at 09:30:26AM -0500, Ben Taylor wrote:
So the macro turns the last _INTC_ARRAY(NULL) into
NULL, sizeof(NULL)/sizeof(*NULL)
in my 64bit linux using gcc-4.1.2 it becomes instead :
((void *)0), sizeof(((void *)0))/sizeof(*((void *)0))
what version of gcc (gcc -v) are you
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 16:05:35
Modified files:
slirp : misc.c
Log message:
removed warning
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/slirp/misc.c?cvsroot=qemur1=1.12r2=1.13
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 16:22:17
Modified files:
linux-user : signal.c
Log message:
removed warnings - fixed arm stack copy bug
CVSWeb URLs:
CVSROOT:/cvsroot/qemu
Module name:qemu
Changes by: Blue Swirl blueswir1 07/11/11 16:51:04
Modified files:
hw : sun4u.c
Log message:
Fix Sun4u compile
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/sun4u.c?cvsroot=qemur1=1.25r2=1.26
On Sun, Nov 11, 2007 at 10:06:34AM -0600, Carlo Marcelo Arenas Belon wrote:
On Sun, Nov 11, 2007 at 09:30:26AM -0500, Ben Taylor wrote:
So the macro turns the last _INTC_ARRAY(NULL) into
NULL, sizeof(NULL)/sizeof(*NULL)
in my 64bit linux using gcc-4.1.2 it becomes instead :
((void
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 17:22:48
Modified files:
linux-user : main.c
Log message:
printf format fixes
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 17:23:29
Modified files:
linux-user : qemu.h strace.c
Log message:
use correct types
CVSWeb URLs:
+#undef NULL
+#define NULL ((void *)0)
Absolutely not.
Paul
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 17:25:52
Modified files:
linux-user : m68k-sim.c
Log message:
fixed invalid cast
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 17:26:22
Modified files:
tests : Makefile
Log message:
use -fno-strict-aliasing
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 17:26:45
Modified files:
. : translate-all.c
Log message:
removed warning
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 17:39:19
Modified files:
linux-user : syscall.c
Log message:
improved cmsg handling - improved shm memory code
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 17:39:38
Modified files:
linux-user : syscall_defs.h
Log message:
suppressed invalid TARGET_CMSG_FIRSTHDR macro
CVSWeb URLs:
In message: [EMAIL PROTECTED]
Carlo Marcelo Arenas Belon [EMAIL PROTECTED] writes:
: On Sun, Nov 11, 2007 at 10:06:34AM -0600, Carlo Marcelo Arenas Belon wrote:
: On Sun, Nov 11, 2007 at 09:30:26AM -0500, Ben Taylor wrote:
: So the macro turns the last _INTC_ARRAY(NULL) into
:
:
Carlo Marcelo Arenas Belon [EMAIL PROTECTED] writes:
and run a test, the problem is in /usr/include/iso/stdio_iso.h that defined
NULL as an int and not a pointer as shown by :
NULL is not a pointer, it is a null pointer constant, and 0 is a valid
null pointer constant.
contradicting (at
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 17:51:40
Modified files:
hw : sh7750.c
Log message:
removed invalid use of _INTC_ARRAY
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 17:55:50
Modified files:
linux-user : strace.c
Log message:
hex numbers must have a leading 0x
CVSWeb URLs:
CVSROOT:/cvsroot/qemu
Module name:qemu
Changes by: Blue Swirl blueswir1 07/11/11 17:56:39
Modified files:
. : qemu-doc.texi vl.c vl.h
hw : slavio_misc.c sun4m.c
Log message:
Add SPARCserver 600MP emulation (original patch by
On Sun, Nov 11, 2007 at 05:24:06PM +, Paul Brook wrote:
+#undef NULL
+#define NULL ((void *)0)
Absolutely not.
this was not meant to be a final solution, or even be committed in qemu, just
a stop gap solution answering Ben so that he can get their build to complete
and have a somehow
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:31:34
Modified files:
. : thunk.c
Log message:
better than nothing 64 bit support - added sign extension for TYPE_LONG
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:32:53
Modified files:
linux-user : main.c
Log message:
sparc64_[get|set]_context are not meaningful in abi32 mode
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:34:33
Modified files:
linux-user : syscall.c
Log message:
removed warning
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:45:10
Modified files:
linux-user : signal.c
Log message:
removed warnings - improved sparc32/64 signal frame setup - disabled
x86 frame setup for x86_64
CVSWeb
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:45:49
Modified files:
target-i386: exec.h
Log message:
removed warning
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:46:09
Modified files:
target-sparc : op_helper.c
Log message:
removed warning
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:46:37
Modified files:
hw : usb-uhci.c
Log message:
removed unused code
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:47:02
Modified files:
hw : slavio_timer.c
Log message:
fixed invalid constant
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:47:59
Modified files:
hw : pxa2xx_dma.c pxa.h spitz.c
Log message:
use correct printf format
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:48:34
Modified files:
hw : pxa2xx.c
Log message:
removed unused variables
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:48:47
Modified files:
hw : omap.c
Log message:
fixed cast
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/hw/omap.c?cvsroot=qemur1=1.20r2=1.21
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:49:08
Modified files:
hw : mips_mipssim.c mips_pica61.c
Log message:
removed unused variable
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:49:51
Modified files:
target-sh4 : translate.c
Log message:
fixed FPU rounding init
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 19:50:22
Modified files:
hw : gt64xxx.c
Log message:
removed warning
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 20:14:28
Modified files:
. : cpu-exec.c vl.c
Log message:
removed warning
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 20:17:03
Modified files:
. : configure
Log message:
options to enable or disable -Werror. Enable -Werror for builds from
CVS by default
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 20:17:14
Modified files:
. : VERSION
Log message:
update
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/qemu/VERSION?cvsroot=qemur1=1.30r2=1.31
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 20:24:30
Modified files:
. : configure
Log message:
better to disable -Werror by default as 64 bit hosts still have warnings
CVSWeb URLs:
Changes by: Fabrice Bellard bellard 07/11/11 20:24:30
Log message:
better to disable -Werror by default as 64 bit hosts still have warnings
amazing work, haven't ever seen a cleaner compilation in 64bit linux before.
thank you
Carlo
* Fabrice Bellard [EMAIL PROTECTED] [2007-11-07 18:35]:
A few more remarks :
- tpm_register() must be called in hw/pc.c.
- you must also handle incomplete write and reads. Use something like
unix_write() in vl.c and the equivalent for read.
- The code seems to be Unix specific so it
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 22:16:57
Modified files:
. : cpu-exec.c
target-i386: cpu.h
Log message:
consistent types for cpu_x86_fsave and cpu_x86_frstor
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 22:22:35
Modified files:
linux-user : vm86.c
Log message:
64 bit compilation fixes
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 22:23:39
Modified files:
linux-user : signal.c
Log message:
user access fixes
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 23:03:42
Modified files:
linux-user : signal.c
Log message:
fixed more invalid pointer usage
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Fabrice Bellard bellard 07/11/11 23:11:36
Modified files:
linux-user : syscall.c
Log message:
64 bit cast for dirent64
CVSWeb URLs:
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/12 00:04:48
Modified files:
target-ppc : helper.c op.c op_helper.c translate.c
Log message:
Fix usage of the -1 constant in the PowerPC target code:
fix invalid size casts
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/12 00:50:50
Modified files:
target-ppc : op.c op_mem.h
Log message:
More PowerPC target -1 usage fixes (reservation address).
CVSWeb URLs:
Hello,
I am trying to implement remote VBD functionality for HVM guests is
fully-virtualized Xen 3.0 unstable.
Consider 2 machines: machine 1 and machine 2, booth Intel-VT capable
machines hosting fully-virtualized Xen 3.0-unstable.
Lets say the HVM guest sitting on machine 1 has its VBD
CVSROOT:/sources/qemu
Module name:qemu
Changes by: Jocelyn Mayer j_mayer 07/11/12 01:56:19
Modified files:
. : configure
darwin-user: main.c
linux-user : main.c
target-ppc : cpu.h helper.c op.c op_helper.c op_helper.h
The following patch removes a duplicated tlb_fill definition from the per
target specific exec.h for i386 and cris in favor of the generic one in
exec-all.h.
It also rearranges cris' op_helper implement it only in softmmu mode like all
other targets.
Carlo
---
Index: target-cris/exec.h
The following patch fixes a compilation/type mismatch issue for runcom by
removing the _syscall2 macro call (deprecated since kernel 2.6.18) and using
the definition from sys/vm86.h for the vm86 system call instead.
Carlo
---
Index: tests/runcom.c
72 matches
Mail list logo