Re: [Qemu-devel] Feature proposal: USB devices over TCP

2007-04-06 Thread Anthony Liguori
Eduardo Felipe wrote: Hi everybody, I think that a useful feature for QEMU would be to expose the USB interface through TCP. Hi Eduardo, I don't know all that much about USB, but I think the most useful way to do this would be to do something that's protocol compatible with USBIP. We coul

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-06 Thread Anthony Liguori
Paul Brook wrote: On Thursday 05 April 2007 23:12, Todd T. Fries wrote: Penned by Thiemo Seufer on 20070402 10:54.53, we have: | > /* NOTE: standard headers should be used with special care at this | > point because host CPU registers are used as global variables. Some | > host heade

[Qemu-devel] qemu/hw rtl8139.c

2007-04-06 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/04/07 01:41:50 Modified files: hw : rtl8139.c Log message: Remove dead code. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/rtl8139.c?cvsroot=qemu&r1=1.7&r2=1.8

[Qemu-devel] qemu/hw ide.c

2007-04-06 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/04/07 01:24:43 Modified files: hw : ide.c Log message: Remove dead code. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/ide.c?cvsroot=qemu&r1=1.56&r2=1.57

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

2007-04-06 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/07 01:11:39 Modified files: target-mips: translate.c Log message: Implement prefx. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/translate.c?cvsroot=qemu&r1=1.51&r

[Qemu-devel] Feature proposal: USB devices over TCP

2007-04-06 Thread Eduardo Felipe
Hi everybody, I think that a useful feature for QEMU would be to expose the USB interface through TCP. It would allow quick USB device development in high level languages without recompiling QEMU. We could have an instance of QEMU running all the time while we create our device and hot plug/unpl

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

2007-04-06 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/07 01:11:15 Modified files: target-mips: translate.c Log message: Set proper BadVAddress value for unaligned instruction fetch. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/t

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

2007-04-06 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/07 01:10:22 Modified files: target-mips: translate.c Log message: Actually skip over delay slot for a non-taken branch likely. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/ta

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

2007-04-06 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/07 01:09:17 Modified files: target-mips: op.c Log message: Fix ins/ext cornercase. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/op.c?cvsroot=qemu&r1=1.33&r2=1.34

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-06 Thread Paul Brook
On Thursday 05 April 2007 23:12, Todd T. Fries wrote: > Penned by Thiemo Seufer on 20070402 10:54.53, we have: > | > /* NOTE: standard headers should be used with special care at this > | > point because host CPU registers are used as global variables. Some > | > host headers do not allow

Re: [Qemu-devel] Is it possible to boot qemu-system-ppc with -kernel?

2007-04-06 Thread Rob Landley
On Tuesday 03 April 2007 8:48 pm, Jason Wessel wrote: > > To boot the prep machine you need to configure the kernel for prep and > use the zImage.prep file. IE: CONFIG_PPC_PREP=y > > Right now you selected CONFIG_PPC_CHRP In 2.6.20.4 PPC_PREP depends on: (PPC64 || CLASSIC32) && PPC_MULTIPLAT

Re: [Qemu-devel] [RFC/experimental patch] qemu (x86_64 on x86_64 -no-kqemu) compiles with gcc4 and works

2007-04-06 Thread Rob Landley
On Monday 26 March 2007 1:14 pm, Axel Zeuner wrote: > Hi Avi, > On Sunday 25 March 2007 15:40, Avi Kivity wrote: > > Axel Zeuner wrote: > > > A full featured converter (cvtasm) has a lot of dependencies: it has to > > > support all hosts (M) (with all assembler dialects M') and all targets N, > >

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-06 Thread Thiemo Seufer
Todd T. Fries wrote: > > Penned by Thiemo Seufer on 20070402 10:54.53, we have: > | > /* NOTE: standard headers should be used with special care at this > | > point because host CPU registers are used as global variables. Some > | > host headers do not allow that. */ > | > #include > |

Re: [Qemu-devel] Virtual braille device support?

2007-04-06 Thread Paul Brook
> The question I'd have for now is: how to choose which brand of USB > braille device to emulate? Should the simplest, fastest, or most > powerful protocol be chosen? I'd go for whichever is best documented and supported by the widest range of (Open Source) operating systems. Paul

[Qemu-devel] Virtual braille device support?

2007-04-06 Thread Samuel Thibault
Hi, I've just thought about implementing a virtual braille device in qemu. The idea would be that qemu use BrlAPI for accessing the real braille device (see http://brl.thefreecat.org), and then emulate a virtual USB braille device for the guest system. The question I'd have for now is: how to ch

Re: [Qemu-devel] Patch: dyngen-exec.h for OpenBSD

2007-04-06 Thread Todd T. Fries
Penned by Thiemo Seufer on 20070402 10:54.53, we have: | > /* NOTE: standard headers should be used with special care at this | > point because host CPU registers are used as global variables. Some | > host headers do not allow that. */ | > #include | > - | > +#ifdef __OpenBSD__ | > +#i

Re: [Qemu-devel] [patch] use socklen_t with getsockopt()

2007-04-06 Thread Paul Brook
On Friday 06 April 2007 22:51, Mike Frysinger wrote: > On Thursday 05 April 2007, Jamie Lokier wrote: > > Sylvain Petreolle wrote: > > > Was incorrect before too, since it was sizeof(int) in the first place ? > > > > The old type of "val" was "int", so it made no different to the size. > > When "va

Re: [Qemu-devel] [patch] use socklen_t with getsockopt()

2007-04-06 Thread Mike Frysinger
On Thursday 05 April 2007, Jamie Lokier wrote: > Sylvain Petreolle wrote: > > Was incorrect before too, since it was sizeof(int) in the first place ? > > The old type of "val" was "int", so it made no different to the size. > When "val" is of type socklen_t, it matters. val is still of type int wh

[Qemu-devel] qemu/hw arm_timer.c

2007-04-06 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/04/06 20:58:25 Modified files: hw : arm_timer.c Log message: Comment spelling fix. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/arm_timer.c?cvsroot=qemu&r1=1.2&r2=1.3

[Qemu-devel] qemu/target-sparc exec.h op.c op_helper.c trans...

2007-04-06 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/06 20:03:29 Modified files: target-sparc : exec.h op.c op_helper.c translate.c Log message: Full implementation of IEEE exceptions (Aurelien Jarno) CVSWeb URLs: http://cvs.savannah.gnu.org/

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

2007-04-06 Thread Blue Swirl
CVSROOT:/cvsroot/qemu Module name:qemu Changes by: Blue Swirl 07/04/06 20:02:09 Modified files: target-sparc : translate.c Log message: Enforce even float register pair for double register ops (Aurelien Jarno) CVSWeb URLs: http://cvs.savannah.gnu.org/view

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

2007-04-06 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/06 19:31:06 Modified files: target-mips: helper.c Log message: Fix handling of ADES exceptions. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/target-mips/helper.c?cvsroot=qemu

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

2007-04-06 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/04/06 18:46:01 Modified files: target-mips: op.c op_helper.c translate.c Log message: Save state for all CP0 instructions, they may throw a CPU exception. CVSWeb URLs: http://cvs.savanna

[Qemu-devel] Need tips to add a third PCI IDE controller

2007-04-06 Thread Carlos A. M. dos Santos
Hello I'd like to add a third PCI IDE controller to QEMU. Could someone gine ve some advice on this? Thanks in advance. -- Carlos A. M. dos Santos

[Qemu-devel] qemu/hw pl181.c

2007-04-06 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/04/06 16:54:11 Modified files: hw : pl181.c Log message: Use correct type for card field. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/pl181.c?cvsroot=qemu&r1=1.1&r2=1.2

[Qemu-devel] qemu Makefile.target qemu-doc.texi vl.c vl.h hw...

2007-04-06 Thread Paul Brook
CVSROOT:/sources/qemu Module name:qemu Changes by: Paul Brook 07/04/06 16:49:48 Modified files: . : Makefile.target qemu-doc.texi vl.c vl.h hw : integratorcp.c realview.c versatilepb.c Added files: hw : pl181.c sd.

Re: [Qemu-devel] Re: Detecting an assembly instruction in QEMU

2007-04-06 Thread Eduardo Felipe
Hi, Your should create a new helper function in \target-i386\helper.c to perform whatever you want QEMU to do when movl %eax,%eax is found. To invoke that function create a new opcode in \target-i386\op.c. That opcode should only call your helper function. Finally, modify \target-i386\translate

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

2007-04-06 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/06 08:56:50 Modified files: linux-user : elfload.c main.c qemu.h signal.c syscall.c Log message: Code provision for x86_64 and PowerPC 64 linux user mode support. CVSWeb URLs: http://cvs.

[Qemu-devel] qemu .cvsignore

2007-04-06 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/06 08:07:06 Modified files: . : .cvsignore Log message: Add alpha targets. Code provision for x86_64 and PowerPC 64 linux user targets. CVSWeb URLs: http://cvs.savannah.g

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

2007-04-06 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/06 07:59:47 Modified files: target-ppc : translate.c Log message: Fix for PowerPC 64 rotates. Fix for PowerPC 64 load & store with immediate index. CVSWeb URLs: http://cvs.savanna

Re: [Qemu-devel] [PATCH][SPARC] Full implementation of IEEE exceptions

2007-04-06 Thread Aurelien Jarno
On Fri, Apr 06, 2007 at 08:47:57AM +0200, Blue Swirl wrote: > >The attached patch fully implements IEEE exceptions on the SPARC target. > > The patch is broken: > gcc-3.3 -Wall -O2 -g -fno-strict-aliasing -fno-reorder-blocks -fno-gcse > -fno-optimize-sibling-calls -fno-crossjumping -fno-ali

Re: [Qemu-devel] [PATCH][SPARC] Full implementation of IEEE exceptions

2007-04-06 Thread Aurelien Jarno
On Fri, Apr 06, 2007 at 08:22:21AM +0200, Blue Swirl wrote: > >The attached patch fully implements IEEE exceptions on the SPARC target. > > Nice work, thank you. Do you know of any code that uses the exceptions? I guess no code is using IEEE exceptions to generate a trap, because defining a sign