[Qemu-devel] [PATCH] configure

2007-05-08 Thread Jeff Chua
Avi had suggest I post this patch here so that it can be included in qemu instead of kvm. Here's a little patch to silent ... - sdl-config when SDK is compiled without static library - texi2html when not found Thanks, Jeff --- kvm/qemu/configure.org 2007-05-07 20:36:5

[Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs

2007-05-08 Thread Samuel Bronson
So, if the guest system has a triple-fault, and I had had my mouse grabbed, it stays grabbed, so that X has to be restarted (as far as I know). This happens because abort() doesn't run functions registered with atexit(). Suggest use of exit() instead.

Re: [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs

2007-05-08 Thread Paul Brook
On Monday 07 May 2007, Samuel Bronson wrote: > So, if the guest system has a triple-fault, and I had had my mouse grabbed, > it stays grabbed, so that X has to be restarted (as far as I know). > > This happens because abort() doesn't run functions registered with > atexit(). Suggest use of exit() i

Re: [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs

2007-05-08 Thread Andreas Schwab
Samuel Bronson <[EMAIL PROTECTED]> writes: > So, if the guest system has a triple-fault, and I had had my mouse grabbed, it > stays grabbed, so that X has to be restarted (as far as I know). Not if you have XF86_Ungrab bound to a key. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] Su

Re: [Qemu-devel] Triple-fault causes abort(), which doesn't end pointer grabs

2007-05-08 Thread Philip Boulain
On Tue, 2007-05-08 at 18:38 +0200, Andreas Schwab wrote: > Samuel Bronson <[EMAIL PROTECTED]> writes: > > So, if the guest system has a triple-fault, and I had had my mouse grabbed, > > it > > stays grabbed, so that X has to be restarted (as far as I know). > Not if you have XF86_Ungrab bound to a

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-08 Thread Stefan Weil
This won't help for the problems with MIPS FPU emulation, will it? Both breakpoints and the FPU emulation in the Linux kernel use self-modifying code, so there should be a general solution for both (and more related) problems. As long as this general solution is missing, the published code patche

[Qemu-devel] qcow2 images going corrupt

2007-05-08 Thread Csaba Henk
Hi, I'm running qemu 0.9.0 on a Linux host. I'm using a qcow2 image. I run qemu in daemon mode. When I'm to finish my session with the guest, I go to the monitor, do a "savevm whatever", "commit all", "q". What I see that the image becomes corrupt very often (qemu-img sees it as a raw image). (I

[Qemu-devel] qemu/hw pxa.h pxa2xx.c pxa2xx_lcd.c spitz.c

2007-05-08 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/05/08 19:03:12 Modified files: hw : pxa.h pxa2xx.c pxa2xx_lcd.c spitz.c Log message: Switch to qemu_ram_alloc() for memory allocation in PXA255/270. Pass correct RAM

Re: [Qemu-devel] qcow2 images going corrupt

2007-05-08 Thread Thiemo Seufer
Csaba Henk wrote: > Hi, > > I'm running qemu 0.9.0 on a Linux host. > > I'm using a qcow2 image. I run qemu in daemon mode. When I'm to finish my > session with the guest, I go to the monitor, do a "savevm whatever", > "commit all", "q". > > What I see that the image becomes corrupt very often (

[Qemu-devel] qemu/hw pxa2xx.c pxa2xx_timer.c

2007-05-08 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/05/08 19:20:04 Modified files: hw : pxa2xx.c pxa2xx_timer.c Log message: Set OOK when OON is set in OSCC register (thanks to BobOfDoom). Correct a fatal typo in timer code.

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

2007-05-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/08 20:51:26 Modified files: target-mips: op.c Log message: Work around gcc's mips define, spotted by Stefan Weil. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op.

[Qemu-devel] qemu configure

2007-05-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/08 20:57:53 Modified files: . : configure Log message: Silence sdl-config stderr output, by Jeff Chua. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/configure?cvsroot

Re: [Qemu-devel] [PATCH] configure

2007-05-08 Thread Thiemo Seufer
Jeff Chua wrote: [snip] > @@ -567,7 +567,8 @@ >fi > ># Check if tools are available to build documentation. > -if [ -x "`which texi2html`" ] && [ -x "`which pod2man`" ]; then > +if [ -x "`which texi2html 2>/dev/null`" \ > + -a -x "`which pod2man 2>/dev/null`" ]; then Under which circu

[Qemu-devel] qemu Makefile.target cpu-exec.c dyngen.c

2007-05-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/08 21:05:55 Modified files: . : Makefile.target cpu-exec.c dyngen.c Log message: Another bunch of mips host support. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/Mak

[Qemu-devel] [PATCH][MIPS] Fix 64-bit address computation from base + offset

2007-05-08 Thread Aurelien Jarno
Hi all, While trying to get a 64-bit kernel booting on the emulated Malta board, I have noticed that load/store addresses are not correctly computed on a 64-bit target. Using gen_op_add() to compute the effective base + offset address strip it to 32-bit. The patch below fixes that by defining a n

[Qemu-devel] [PATCH][MIPS] Preliminary 64-bit MMU implementation

2007-05-08 Thread Aurelien Jarno
Hi all, The patch below change the get_physical_address() function to support 64-bit addresses in the MMU. Other parts of the MMU implementation probably have to be fixed to get a full 64-bit support. For example the refill vector should be XTLB instead of TLB for a 64-bit address. With this pat

[Qemu-devel] qemu/hw pxa2xx.c pxa2xx_timer.c

2007-05-08 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/05/08 22:51:01 Modified files: hw : pxa2xx.c pxa2xx_timer.c Log message: Correct the number of PXA255 GPIO lines. Reuse the PXA timers struct for PXA27x additional timers.

[Qemu-devel] qemu cpu-all.h dyngen.c

2007-05-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/08 22:51:41 Modified files: . : cpu-all.h dyngen.c Log message: Spelling fixes, by Stefan Weil. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/cpu-all.h?cvsroot=qemu&r

[Qemu-devel] qemu dyngen-exec.h dyngen.h

2007-05-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/08 23:30:44 Modified files: . : dyngen-exec.h dyngen.h Log message: Make detection of unsupported hosts easier, inspired by a patch from Stefan Weil. CVSWeb URLs: htt

[Qemu-devel] qemu exec-all.h

2007-05-08 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/05/08 23:40:45 Modified files: . : exec-all.h Log message: Another #elif'ication. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/exec-all.h?cvsroot=qemu&r1=1.52&r2=1.53

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-08 Thread John Reiser
>>qemu-0.9.0 ... >>emulating Debian 2.6.18-4-qemu mipsel ... >>errs when gdb 6.4.90-debian (running on the emulated mipsel) >>single-steps the user-mode instruction ... > This looks like another instance of "Qemu/MIPS doesn't handle > self-modifying code correctly" (the break instructions inserted

Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-08 Thread Thiemo Seufer
Stefan Weil wrote: [snip] I cherrypicked the easy bits, and will look at the rest when I have more time. > When I started to write MIPS host, I found it difficult to > get all locations which needed new code. To make it easier for > new ports, I changed sequences of #if ... #endif, #if ... #endif

Re: [Qemu-devel] [PATCH] qemu Makefile.target cpu-all.h cpu-exec.c dynge...

2007-05-08 Thread Thiemo Seufer
Stefan Weil wrote: > Hello Thiemo, > > here is a (partially crude) patch which mixes your code with > my own MIPS host extension and code parts from a MIPS host > made by Johannes E. Schindelin 2 years ago. > > Using this new code I was able to start a Linux kernel > using qemu-system-mipsel runn

Re: [Qemu-devel] [PATCH] configure

2007-05-08 Thread Jeff Chua
For those who does minimal install. In this case, texi2html would not be available on the system. I've seen quite a few systems without texi2html. Again, the patch is not a MUST, but it's nice not to see unnecessary warning. Thanks, Jeff. On 5/9/07, Thiemo Seufer <[EMAIL PROTECTED]> wrote: J

Re: [Qemu-devel] [PATCH] configure

2007-05-08 Thread Thiemo Seufer
Jeff Chua wrote: > For those who does minimal install. In this case, texi2html would not > be available on the system. I've seen quite a few systems without > texi2html. > > Again, the patch is not a MUST, but it's nice not to see unnecessary > warning. I don't see a warning for e.g. "which foo

Re: [Qemu-devel] bug: qemu-0.9.0 emulating mipsel (32-bit R3000) on amd64

2007-05-08 Thread Thiemo Seufer
John Reiser wrote: > >>qemu-0.9.0 ... > >>emulating Debian 2.6.18-4-qemu mipsel ... > >>errs when gdb 6.4.90-debian (running on the emulated mipsel) > >>single-steps the user-mode instruction ... > > > This looks like another instance of "Qemu/MIPS doesn't handle > > self-modifying code correctly"

Re: [Qemu-devel] [PATCH] configure

2007-05-08 Thread Jeff Chua
On 5/9/07, Thiemo Seufer <[EMAIL PROTECTED]> wrote: I don't see a warning for e.g. "which foo" on my system. Could you describe your system and paste the output the which command produces there? # which foo which: no foo in (/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11

Re: [Qemu-devel] [PATCH] configure

2007-05-08 Thread Ben Taylor
Jeff Chua <[EMAIL PROTECTED]> wrote: > For those who does minimal install. In this case, texi2html would not > be available on the system. I've seen quite a few systems without > texi2html. > > Again, the patch is not a MUST, but it's nice not to see unnecessary warning. I suppose you cou