Re: [Qemu-devel] [RFC] linux-user (mostly syscall.c)

2007-11-02 Thread Thiemo Seufer
Thayne Harbaugh wrote: > There are several things that I'd like to see addressed in linux-user. > Some of these are to fix bugs, some are to make qemu linux-user more > like the Linux kernel, some are to make the internal qemu interfaces > more consistent. > > An internal coding practice that is b

Re: [Qemu-devel] qemu vl.c vl.h hw/an5206.c hw/etraxfs.c hw/inte...

2007-11-02 Thread Thiemo Seufer
J. Mayer wrote: [snip] > > > It restricts the letter to the ones historically allowed by Qemu, not to > > > anything specific to any architecture or hw platform. What I like in my > > > implementation, compared to the strchr..., is that it exactly tells the > > > user which given device is incorrec

[Qemu-devel] qemu/hw i2c.c omap.c omap.h

2007-11-02 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/03 00:51:03 Modified files: hw : i2c.c omap.c omap.h Log message: Initial OMAP I^2C controller implementation (communication not tested). Correct an i2c_start_tran

[Qemu-devel] qemu/hw omap.c omap.h

2007-11-02 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/03 00:48:26 Modified files: hw : omap.c omap.h Log message: Add OMAP Pulse-width Tone module. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/omap.c?cvsroot=qemu

[Qemu-devel] qemu/hw omap.c omap.h

2007-11-02 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/03 00:46:16 Modified files: hw : omap.c omap.h Log message: Implement OMAP PWL (backlight) module. Fix GPIO clock name and output level change notifications. CVSW

[Qemu-devel] qemu/hw palm.c tsc210x.c

2007-11-02 Thread Andrzej Zaborowski
CVSROOT:/sources/qemu Module name:qemu Changes by: Andrzej Zaborowski 07/11/03 00:41:31 Modified files: hw : palm.c tsc210x.c Log message: The PINT/DAV pin is active low in the chip spec, not inverted on the board. Make changes on known G

Re: [Qemu-devel] qemu vl.c vl.h hw/an5206.c hw/etraxfs.c hw/inte...

2007-11-02 Thread J. Mayer
On Sat, 2007-11-03 at 01:01 +0100, andrzej zaborowski wrote: > Hi, > > On 01/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-11-01 at 01:01 +0100, andrzej zaborowski wrote: > > > On 31/10/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > > > On Wed, 2007-10-31 at 11:22 +0100, J.

[Qemu-devel] [RFC] linux-user (mostly syscall.c)

2007-11-02 Thread Thayne Harbaugh
There are several things that I'd like to see addressed in linux-user. Some of these are to fix bugs, some are to make qemu linux-user more like the Linux kernel, some are to make the internal qemu interfaces more consistent. An internal coding practice that is being addressed bit-by-bit is that o

Re: [Qemu-devel] qemu vl.c vl.h hw/an5206.c hw/etraxfs.c hw/inte...

2007-11-02 Thread andrzej zaborowski
Hi, On 01/11/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > On Thu, 2007-11-01 at 01:01 +0100, andrzej zaborowski wrote: > > On 31/10/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > On Wed, 2007-10-31 at 11:22 +0100, J. Mayer wrote: > > > > On Wed, 2007-10-31 at 11:01 +0100, andrzej zaborowski

[Qemu-devel] Re: [PATCH] efault - add data type to put_user()/get_user()

2007-11-02 Thread Thayne Harbaugh
On Wed, 2007-10-31 at 16:44 -0600, Thayne Harbaugh wrote: > This patch updates get_user() and put_user() to take a third argument of > data type. get_user() and put_user() use target address which are > target_ulong and don't reflect the data type pointed to in target > memory. > > Simply castin

[Qemu-devel] qemu/target-ppc translate.c

2007-11-02 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/02 22:47:50 Modified files: target-ppc : translate.c Log message: Don't print any message when a priviledge exception occurs on mfpvr as the Linux allows applications to read this

[Qemu-devel] qemu/target-ppc helper.c

2007-11-02 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/11/02 22:35:33 Modified files: target-ppc : helper.c Log message: Fix PowerPC program exception that was broken by FPU exception patches (bug reported by Jason Wessel) CVSWeb URLs

Re: [Qemu-devel] qemu Makefile.target vl.h hw/cuda.c hw/grackle_...

2007-11-02 Thread J. Mayer
On Fri, 2007-11-02 at 22:33 +0200, Blue Swirl wrote: > On 11/2/07, Jocelyn Mayer <[EMAIL PROTECTED]> wrote: > > > > On Fri, 2007-11-02 at 17:18 +0200, Blue Swirl wrote: > > > On 11/2/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > > > On Thu, 2007-11-01 at 23:13 +0100, J. Mayer wrote: > > > >

Re: [Qemu-devel] qemu-system-ppc problem with PVR access from user space

2007-11-02 Thread J. Mayer
On Fri, 2007-11-02 at 16:46 -0400, Daniel Jacobowitz wrote: > On Fri, Nov 02, 2007 at 05:23:59PM +0100, Jocelyn Mayer wrote: > > No, it's not accidental. An application accessing priviledged SPR, > > including the PVR, is likely to be buggy. I checked in the kernel > > (2.6.23), trapping the mfpvr

Re: [Qemu-devel] qemu-system-ppc problem with PVR access from user space

2007-11-02 Thread Daniel Jacobowitz
On Fri, Nov 02, 2007 at 05:23:59PM +0100, Jocelyn Mayer wrote: > No, it's not accidental. An application accessing priviledged SPR, > including the PVR, is likely to be buggy. I checked in the kernel > (2.6.23), trapping the mfpvr instruction is a huge bug because it breaks > the virtualisation fea

Re: [Qemu-devel] qemu Makefile.target vl.h hw/cuda.c hw/grackle_...

2007-11-02 Thread Blue Swirl
On 11/2/07, Jocelyn Mayer <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-11-02 at 17:18 +0200, Blue Swirl wrote: > > On 11/2/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > On Thu, 2007-11-01 at 23:13 +0100, J. Mayer wrote: > > > > On Thu, 2007-11-01 at 21:53 +0200, Blue Swirl wrote: > > > > > On

[Qemu-devel] qemu/linux-user qemu.h

2007-11-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/11/02 20:24:23 Modified files: linux-user : qemu.h Log message: EFAULT - update __get_user() __put_user(), by Thayne Harbaugh. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/linux

[Qemu-devel] qemu linux-user/mmap.c target-i386/helper2.c

2007-11-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/11/02 19:08:57 Modified files: linux-user : mmap.c target-i386: helper2.c Log message: Fix compiler warnings, by Stefan Weil. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcv

[Qemu-devel] qemu cpu-all.h exec.c linux-user/qemu.h

2007-11-02 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/11/02 19:02:07 Modified files: . : cpu-all.h exec.c linux-user : qemu.h Log message: EFAULT - verify pages are in cache and are read/write, by Thayne Harbaugh. CVS

Re: [Qemu-devel] qemu Makefile.target vl.h hw/cuda.c hw/grackle_...

2007-11-02 Thread Jocelyn Mayer
On Fri, 2007-11-02 at 17:18 +0200, Blue Swirl wrote: > On 11/2/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > On Thu, 2007-11-01 at 23:13 +0100, J. Mayer wrote: > > > On Thu, 2007-11-01 at 21:53 +0200, Blue Swirl wrote: > > > > On 11/1/07, Blue Swirl <[EMAIL PROTECTED]> wrote: > > > > > On 10/29/

Re: [Qemu-devel] What happened with NPTL/TLS support?

2007-11-02 Thread Thayne Harbaugh
On Fri, 2007-11-02 at 15:28 +0200, Felipe Contreras wrote: > On 10/22/07, Thayne Harbaugh <[EMAIL PROTECTED]> wrote: > > > > On Sat, 2007-10-20 at 21:34 +0100, Thiemo Seufer wrote: > > > Please submit this patch (and resend what you think was missed). > > > > I'll get them reworked and re-sent

Re: [Qemu-devel] qemu-system-ppc problem with PVR access from user space

2007-11-02 Thread Jocelyn Mayer
On Fri, 2007-11-02 at 08:57 -0500, Jason Wessel wrote: > J. Mayer wrote: > > On Fri, 2007-11-02 at 08:04 -0500, Jason Wessel wrote: > > > >> The typical kernel + user space I boot on the prep machine no longer > >> boots due to an issue accessing the PVR special purpose register. When > >> the

Re: [Qemu-devel] qemu Makefile.target vl.h hw/cuda.c hw/grackle_...

2007-11-02 Thread Blue Swirl
On 11/2/07, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Thu, 2007-11-01 at 23:13 +0100, J. Mayer wrote: > > On Thu, 2007-11-01 at 21:53 +0200, Blue Swirl wrote: > > > On 11/1/07, Blue Swirl <[EMAIL PROTECTED]> wrote: > > > > On 10/29/07, Jocelyn Mayer <[EMAIL PROTECTED]> wrote: > > > > > CVSROOT:

Re: [Qemu-devel] qemu-system-ppc problem with PVR access from user space

2007-11-02 Thread Jason Wessel
J. Mayer wrote: > On Fri, 2007-11-02 at 08:04 -0500, Jason Wessel wrote: > >> The typical kernel + user space I boot on the prep machine no longer >> boots due to an issue accessing the PVR special purpose register. When >> the PVR is accessed from user space, it should generate an exception >>

Re: [Qemu-devel] qemu-system-ppc problem with PVR access from user space

2007-11-02 Thread J. Mayer
On Fri, 2007-11-02 at 08:04 -0500, Jason Wessel wrote: > The typical kernel + user space I boot on the prep machine no longer > boots due to an issue accessing the PVR special purpose register. When > the PVR is accessed from user space, it should generate an exception > with the PC set to the in

Re: [Qemu-devel] What happened with NPTL/TLS support?

2007-11-02 Thread Felipe Contreras
On 10/22/07, Thayne Harbaugh <[EMAIL PROTECTED]> wrote: > > On Sat, 2007-10-20 at 21:34 +0100, Thiemo Seufer wrote: > > Thayne Harbaugh wrote: > > > > > > On Fri, 2007-10-12 at 18:12 +0300, Felipe Contreras wrote: > > > > Hi, > > > > > > > > When I try to use codesourcery's toolchain arm-2006q3-27

Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom

2007-11-02 Thread Laurent Vivier
Thiemo Seufer a écrit : Laurent Vivier wrote: Daniel P. Berrange a écrit : On Sun, Oct 28, 2007 at 11:43:33PM +0100, [EMAIL PROTECTED] wrote: From: Laurent Vivier <[EMAIL PROTECTED](none)> This patch allows to define where is connected the CDROM device (bus, unit). It extends the "-cdrom" syn

[Qemu-devel] qemu-system-ppc problem with PVR access from user space

2007-11-02 Thread Jason Wessel
The typical kernel + user space I boot on the prep machine no longer boots due to an issue accessing the PVR special purpose register. When the PVR is accessed from user space, it should generate an exception with the PC set to the instruction that it occurred at when it saves to the stack. In th

[Qemu-devel] [Patch] Auto-detect USB devfs in Linux

2007-11-02 Thread TJ
Since Linux kernel 2.6.14 the USB device file-system has moved from '/proc/bus/usb' to '/dev/bus/usb' but qemu has '/proc/bus/usb' hard-coded in usb-linux.c I explored the option of moving USBDEVFS_PATH to config.h but it would require several additions to the configure script as well as the chang