[Qemu-devel] qemu-0.8.2 i386 -kernel hangs when gdt and idt are zero length

2006-10-14 Thread John Reiser
Hi, Under qemu-0.8.2 when emulating i386 -kernel in protected mode, and if both the idt and gdt have length zero, then trying to load a segment register loops for a very long time. cli lidtl empty_idt lgdtl empty_gdt # %cs info persists in internal registers mov

Re: [Qemu-devel] SUNWqemu-0.8.2, REV=2006.10.14-sol8-sparc-opt.pkg released

2006-10-14 Thread Blue Swirl
The problem is gnu-ld vs. sun-ld, rather than Linux vs. Solaris. I cannot find an equivalent option for sun-ld. 32bit sparc.ld is also disabled under Solaris for that reason, and has always been. Thanks for the long explanation, I asked because the script was a quick hack. One odd observatio

Re: [Qemu-devel] Re: Hello

2006-10-14 Thread Martin Bochnig
Eric Lowe wrote: >>please ask Eric Lowe. >>I did not prepare the x64/x86 stuff. >>And the sdl amd64 bit patch is also from him. >> >> Before I finally go: I just learned, that the term "stuff" has a negative side-meaning: http://dict.tu-chemnitz.de/dings.cgi?lang=en&service=en-de&opterrors=0

Re: [Qemu-devel] Re: Hello

2006-10-14 Thread Eric Lowe
>please ask Eric Lowe. >I did not prepare the x64/x86 stuff. >And the sdl amd64 bit patch is also from him. The SDL patch is from Juergen Zimmermann. I have not had any problems building 64-bit using --prefix /wherever/i/please to both QEMU and SDL's configure scripts; note that adding wherever

Re: [Qemu-devel] SUNWqemu-0.8.2,REV=2006.10.14-sol8-sparc-opt.pkg released

2006-10-14 Thread Martin Bochnig
Blue Swirl wrote: > Is there some problem that can't be fixed with the sparc64.ld instead > of disabling it for Solaris? Yes and no. The problem is gnu-ld vs. sun-ld, rather than Linux vs. Solaris. I cannot find an equivalent option for sun-ld. 32bit sparc.ld is also disabled under Solaris for t

Re: [Qemu-devel] qemu-system-sparc question?

2006-10-14 Thread Paul Brook
On Saturday 14 October 2006 09:14, Blue Swirl wrote: > >There's no such think as an Ideal cpu. It's like picking the right > >religion :-) If you want a toy cpu, there are things like mmix. > > In general true. But the real and toy CPUs are designed with the hardware > construction in mind, whereas

RE: [Qemu-devel] SUNWqemu-0.8.2, REV=2006.10.14-sol8-sparc-opt.pkg released

2006-10-14 Thread Blue Swirl
A few comments on the patches: Is there some problem that can't be fixed with the sparc64.ld instead of disabling it for Solaris? The ARM/MIPS bits could be rewritten more generally with #ifdef AREG0 instead of _sparc_. Maybe these would be better handled once in dyngen-exec.h so that that t

Re: [Qemu-devel] qemu-system-sparc question?

2006-10-14 Thread Blue Swirl
There's no such think as an Ideal cpu. It's like picking the right religion :-) If you want a toy cpu, there are things like mmix. In general true. But the real and toy CPUs are designed with the hardware construction in mind, whereas the limitations deriving from HW (number of registers, numb

Re: [Qemu-devel] qemu and kernel 2.6.18

2006-10-14 Thread chris friedhoff
Hello, bringing up the tun/tap interface depends now on the capability CAP_NET_ADMIN, which usually only root has. This patch just removes this dependency, so normal user rights suffices again to bring up the tun/tap interface. diff -ruN linux-2.6.18-orig/drivers/net/tun.c linux-2.6.18/drivers/