Re: [Qemu-devel] Emulation: Building solid files

2007-06-27 Thread Markus Hitter
Am 27.06.2007 um 00:22 schrieb NetAudi: Building virtual machines taking only one big binary file (merging Qemu engine and HD image file). It could be good for future portable aplications. I thought this because I'm triying to do the simplest-ultra-secure Internet navigatior. The idea is t

[Qemu-devel] Qemu 0.9 segfault

2007-06-27 Thread GUERRAZ Francois
Hi everybody. Could you please take a look at this post on the forum? No one was able to answer me on that topic... Has is been fixed in the CVS version by chance? http://qemu-forum.ipi.fi/viewtopic.php?t=3344 Thank you very much for this wonderful software anyway :) See ya. François.

Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts

2007-06-27 Thread Blue Swirl
On 6/26/07, Paul Brook <[EMAIL PROTECTED]> wrote: The story behind this is that ISO C89 requires that "long" be at least as big as a pointer (ie. "void *"). The actual requirement is that it be possible to store a pointer in a standard integer type, and "long" is the largest standard integer type

[Qemu-devel] Re: sidt problem

2007-06-27 Thread Clemens Kolbitsch
hi! just wanted to post that i found out what is really the problem... obviously this is one of the restrictions in a virtual machine and thus not a "bug" (as most of you probably know already). it'd still be cool if it could be fixed somehow... though this seems more of an academic thing tha

Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts

2007-06-27 Thread Julian Seward
> > Unfortunately C99 relaxed this requirement, and allowed abominations like > > the win64 ABI. > > > > This means you have a choice: Write standard conforming code (long) that > > works on all known systems except win64, or use features that do't exist > > on many systems. IIRC C99 types like in

Re: [Qemu-devel] sparc guest

2007-06-27 Thread Nigel Horne
Thiemo Seufer wrote: Blue Swirl wrote: On 6/25/07, Thiemo Seufer <[EMAIL PROTECTED]> wrote: Nigel Horne wrote: Good news, sparc emulation with -nographic no longer core dumps. The bad news, networking still fails: FYI, I see a transmit error for ne2k_isa on mips r4k. Maybe that's related. O

[Qemu-devel] [PATCH] Fix environ termination

2007-06-27 Thread Andreas Schwab
Properly NULL-terminate the environment. Andreas. --- linux-user/main.c.~1.116.~ 2007-06-25 12:39:20.0 +0200 +++ linux-user/main.c 2007-06-27 12:51:43.0 +0200 @@ -1819,7 +1819,7 @@ int main(int argc, char **argv) continue; *(dst++) = strdup(*wrk); } -

[Qemu-devel] qemu/linux-user main.c

2007-06-27 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/06/27 11:12:42 Modified files: linux-user : main.c Log message: Fix environ termination, by Andreas Schwab. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroo

Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts

2007-06-27 Thread Thiemo Seufer
Julian Seward wrote: > > > > Unfortunately C99 relaxed this requirement, and allowed abominations like > > > the win64 ABI. > > > > > > This means you have a choice: Write standard conforming code (long) that > > > works on all known systems except win64, or use features that do't exist > > > on m

Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts

2007-06-27 Thread Julian Seward
> > > > This means you have a choice: Write standard conforming code (long) > > > > that works on all known systems except win64, or use features that > > > > do't exist on many systems. IIRC C99 types like intptr_t are not > > > > supported on several fairly common unix systems. > > > > > > In th

Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts

2007-06-27 Thread Marius Groeger
On Wed, 27 Jun 2007, Julian Seward wrote: > > > In Valgrind-world we use an alternative approach, which is to typedef > > > a set of new integral types and use those exclusively, and not use the > > > native 'int', 'long' etc. The new types have a single fixed meaning > > > regardless of the host

Re: [Qemu-devel] [PATCH, RFC] More than 2G of memory on 64-bit hosts

2007-06-27 Thread Thiemo Seufer
Marius Groeger wrote: > On Wed, 27 Jun 2007, Julian Seward wrote: > > > > > In Valgrind-world we use an alternative approach, which is to typedef > > > > a set of new integral types and use those exclusively, and not use the > > > > native 'int', 'long' etc. The new types have a single fixed mean

[Qemu-devel] qemu/target-mips op_helper.c

2007-06-27 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/06/27 19:01:46 Modified files: target-mips: op_helper.c Log message: Fix computation for ceil, floor and round instructions. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-

Re: [Qemu-devel] qemu vl.c (regression)

2007-06-27 Thread Stefan Weil
This patch results in a segmentation fault when i386-softmmu/qemu is called without arguments. strcmp is called with a null argument (optarg == NULL). Tested on Windows and Debian x86 host. Stefan Thiemo Seufer schrieb: > CVSROOT: /sources/qemu > Module name: qemu > Changes by: Thiemo S

Re: [Qemu-devel] sparc guest

2007-06-27 Thread Blue Swirl
On 6/27/07, Nigel Horne <[EMAIL PROTECTED]> wrote: Thiemo Seufer wrote: > Blue Swirl wrote: >> On 6/25/07, Thiemo Seufer <[EMAIL PROTECTED]> wrote: >>> Nigel Horne wrote: Good news, sparc emulation with -nographic no longer core dumps. The bad news, networking still fails: >>> FYI,

Re: [Qemu-devel] qemu/target-mips op_helper.c

2007-06-27 Thread Fabrice Bellard
IMHO, calling floatX_round_to_int before floatX_to_intY is not useful... Fabrice. Thiemo Seufer wrote: CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer07/06/27 19:01:46 Modified files: target-mips: op_helper.c Log message: Fix computation

Re: [Qemu-devel] qemu/target-mips op_helper.c

2007-06-27 Thread Thiemo Seufer
Fabrice Bellard wrote: > IMHO, calling floatX_round_to_int before floatX_to_intY is not useful... I don't understand. floatX_round_to_int does round/ceil/floor but keeps the floating point representation. floatX_to_intY converts the adjusted value to integer representation. Doing this in two step