[Qemu-devel] [PATCH] syscall_target_errno.patch

2007-10-10 Thread Thayne Harbaugh
I appreciate the work that Jocelyn did to correct the types used throughout linux-user/syscall.c. Along those same lines I am working on several patches to eliminate some incorrect constructs that have crept into syscall.c - some of which I have ignorantly propagated in previous patches that I hav

Re: [Qemu-devel] qemu-system-m68k and booting m68k images

2007-10-10 Thread Ian Graeme Hilt
On Wed, Oct 10, 2007 at 06:20:57PM -0500, Rob Landley wrote: > On Saturday 06 October 2007 8:59:02 pm Ian Graeme Hilt wrote: > > Two questions: > > > > 1. Why does qemu-system-m68k require a kernel image? > > I'd actually be pretty happy if I could figure out which kernel image I could > build th

Re: [Qemu-devel] qemu-system-m68k and booting m68k images

2007-10-10 Thread Rob Landley
On Saturday 06 October 2007 8:59:02 pm Ian Graeme Hilt wrote: > Two questions: > > 1. Why does qemu-system-m68k require a kernel image? I'd actually be pretty happy if I could figure out which kernel image I could build that the sucker would boot. "qemu-system-m68k -M ?" lists two boards: the mc

Re: [Qemu-devel] RFC: fix run of 32 bits Linux executables on 64 bits targets

2007-10-10 Thread J. Mayer
On Wed, 2007-10-10 at 22:02 +0300, Blue Swirl wrote: > On 10/10/07, Fabrice Bellard <[EMAIL PROTECTED]> wrote: > > Thiemo Seufer wrote: > > > Fabrice Bellard wrote: > > >> J. Mayer wrote: > > >>> Following the patches done for elfload32, it appeared to me that there > > >>> were still problems that

[Qemu-devel] qemu/target-sparc op.c translate.c

2007-10-10 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/10/10 19:11:54 Modified files: target-sparc : op.c translate.c Log message: Fix taddcctv and tsubcctv (David Matthews) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-sparc/op.c?cv

Re: [Qemu-devel] RFC: fix run of 32 bits Linux executables on 64 bits targets

2007-10-10 Thread Blue Swirl
On 10/10/07, Fabrice Bellard <[EMAIL PROTECTED]> wrote: > Thiemo Seufer wrote: > > Fabrice Bellard wrote: > >> J. Mayer wrote: > >>> Following the patches done for elfload32, it appeared to me that there > >>> were still problems that would prevent 32 bits executables to run on 64 > >>> bits target

Re: [Qemu-devel] RFC: fix run of 32 bits Linux executables on 64 bits targets

2007-10-10 Thread J. Mayer
On Wed, 2007-10-10 at 19:01 +0300, Blue Swirl wrote: > On 10/10/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > Following the patches done for elfload32, it appeared to me that there > > were still problems that would prevent 32 bits executables to run on 64 > > bits target in linux user mode emulation

Re: [Qemu-devel] RFC: fix run of 32 bits Linux executables on 64 bits targets

2007-10-10 Thread Fabrice Bellard
Thiemo Seufer wrote: Fabrice Bellard wrote: J. Mayer wrote: Following the patches done for elfload32, it appeared to me that there were still problems that would prevent 32 bits executables to run on 64 bits target in linux user mode emulation. [...] Are you sure it is a good idea to try to add

Re: [Qemu-devel] RFC: fix run of 32 bits Linux executables on 64 bits targets

2007-10-10 Thread Thiemo Seufer
Fabrice Bellard wrote: > J. Mayer wrote: >> Following the patches done for elfload32, it appeared to me that there >> were still problems that would prevent 32 bits executables to run on 64 >> bits target in linux user mode emulation. > > [...] > > Are you sure it is a good idea to try to add 32 bi

[Qemu-devel] Sparc taddctv/tsubcctv patch

2007-10-10 Thread David Matthews
This patch fixes a couple of bugs in taddcctv and tsubcctv on the Sparc. It saves the state so that if the instructions trap the correct address is delivered to the kernel and it fixes the detection of overflow in taddcctv. This was patched against CVS version of 20070816 but the fixes don't

Re: [Qemu-devel] RFC: fix run of 32 bits Linux executables on 64 bits targets

2007-10-10 Thread Blue Swirl
On 10/10/07, Fabrice Bellard <[EMAIL PROTECTED]> wrote: > J. Mayer wrote: > > Following the patches done for elfload32, it appeared to me that there > > were still problems that would prevent 32 bits executables to run on 64 > > bits target in linux user mode emulation. > > [...] > > Are you sure

Re: [Qemu-devel] RFC: fix run of 32 bits Linux executables on 64 bits targets

2007-10-10 Thread Blue Swirl
On 10/10/07, J. Mayer <[EMAIL PROTECTED]> wrote: > Following the patches done for elfload32, it appeared to me that there > were still problems that would prevent 32 bits executables to run on 64 > bits target in linux user mode emulation. > First of all, the personality was never set to PER_LINUX3

[Qemu-devel] i386 page fault recovery / user-code continuation

2007-10-10 Thread Clemens Kolbitsch
hi everyone! I have a question concerning how i386 execution is continued after a page fault has occured... What I have understood so far: In the executing TB the TLB is checked and if the address is not found __ld (e.g. __ldl_user) is called. this calls lb_fill (if it rea

[Qemu-devel] Re: [kvm-devel] FreeBSD image hangs during boot

2007-10-10 Thread Aurelien Jarno
Avi Kivity a écrit : > Aurelien Jarno wrote: >> Avi Kivity a écrit : >> >>> Aurelien Jarno wrote: >>> >> I also confirm that using -no-acpi fixes the problem. However, I have >> seen strange data corruption, even on Intel. >> >> Basically, booting a recently installed FreeBS

[Qemu-devel] FP emulation bugs for x86_64-softmmu

2007-10-10 Thread Julian Seward
Some x86_64 SSE2 instructions that convert floats to ints appear to ignore the rounding mode (in mxcsr), and so produce wrong results if mxcsr is set to anything other than default rounding. For example cvtsd2si et al. I'm looking at softfloat-native.c and softfloat.c and wondering how to fix it

[Qemu-devel] Hacking QEMU to use a real video card

2007-10-10 Thread Anthony de Almeida Lopes
I was curious if anyone thinks that it may be possible to get a KVM-patched QEMU to use a real video card? For example, let's say I had a second video card. Is QEMU a codebase which would support hacking in the ability to utilize this second video card? And in the situation of a laptop, would i

Re: [Qemu-devel] RFC: fix run of 32 bits Linux executables on 64 bits targets

2007-10-10 Thread Fabrice Bellard
J. Mayer wrote: Following the patches done for elfload32, it appeared to me that there were still problems that would prevent 32 bits executables to run on 64 bits target in linux user mode emulation. > [...] Are you sure it is a good idea to try to add 32 bit executable support to a 64 bit ta

[Qemu-devel] RFC: fix run of 32 bits Linux executables on 64 bits targets

2007-10-10 Thread J. Mayer
Following the patches done for elfload32, it appeared to me that there were still problems that would prevent 32 bits executables to run on 64 bits target in linux user mode emulation. First of all, the personality was never set to PER_LINUX32 The second problem was that pointers used to set the va