Re: [Qemu-devel] qemu/target-arm helper.c

2007-10-31 Thread Matthew Warton
Hi Andrzej, I noticed you also seem to work on the neo1973 port of Qemu for Openmoko. Could you please let me know when you merge this patch into that tree so that we can update our simulator and forget about the patch? Thanks, Matthew Warton On 31/10/2007, at 11:47 AM, Andrzej Zaborowsk

Re: [Qemu-devel] [PATCH] Arm MMU Fixes

2007-10-31 Thread Matthew Warton
As far as I know (referencing ARM system-on-chip-architecture by Steve Furber) this is used on MPU ARMS as well. Apparently it is included on some of these chips to support windows CE. Personally I have no experience with MPU ARMs. Thanks, Matthew Warton On 31/10/2007, at 11:49 AM, andrzej

Re: [Qemu-devel] [PATCH] strace rework

2007-10-31 Thread Thiemo Seufer
Thayne Harbaugh wrote: > > On Thu, 2007-11-01 at 00:09 +, Thiemo Seufer wrote: > > Thayne Harbaugh wrote: > > > > > > On Sat, 2007-10-27 at 14:26 +0100, Thiemo Seufer wrote: > > > > Thayne Harbaugh wrote: > > > > > This is a rework of Stuart Anderson's strace patch. I've fixed > > > > > targ

Re: [Qemu-devel] [PATCH] strace rework

2007-10-31 Thread Thayne Harbaugh
On Thu, 2007-11-01 at 00:09 +, Thiemo Seufer wrote: > Thayne Harbaugh wrote: > > > > On Sat, 2007-10-27 at 14:26 +0100, Thiemo Seufer wrote: > > > Thayne Harbaugh wrote: > > > > This is a rework of Stuart Anderson's strace patch. I've fixed > > > > target-to-host and host-to-target syscall l

[Qemu-devel] qemu/linux-user strace.c strace.list

2007-10-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/11/01 00:13:36 Added files: linux-user : strace.c strace.list Log message: Add new files fir strace support, missed in earlier commit. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qe

[Qemu-devel] qemu Changelog

2007-10-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/11/01 00:11:47 Modified files: . : Changelog Log message: Mention userland strace support, and mipssim machine emulation. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/C

Re: [Qemu-devel] [PATCH] strace rework

2007-10-31 Thread Thiemo Seufer
Thayne Harbaugh wrote: > > On Sat, 2007-10-27 at 14:26 +0100, Thiemo Seufer wrote: > > Thayne Harbaugh wrote: > > > This is a rework of Stuart Anderson's strace patch. I've fixed > > > target-to-host and host-to-target syscall lookups so that the proper > > > host or target errno is returned. > >

[Qemu-devel] qemu Makefile.target linux-user/main.c linux-us...

2007-10-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/11/01 00:07:39 Modified files: . : Makefile.target linux-user : main.c qemu.h syscall.c Log message: Strace for userland emulation, by Stuart Anderson and Thayne Har

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

2007-10-31 Thread andrzej zaborowski
Hi, 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 wrote: > > > On 31/10/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > > > On Wed, 2007-10-31 at 03:35 +0100, andrzej zaborow

Re: [Qemu-devel] How to split vl.h

2007-10-31 Thread Thiemo Seufer
Blue Swirl wrote: > Hi, > > With the automatic dependency rule installed, modifying vl.h causes > all files to be recompiled. This is of course the correct action, but > it's a major slowdown for development too. > > How should we split vl.h into smaller pieces? Give each device a > header file,

[Qemu-devel] Re: [PATCH] efault

2007-10-31 Thread Thayne Harbaugh
These three efault patches are the basis for another 30 patches which do the following: * Correct compiler warnings. * Add coding consistency. * Detect error cases and handle them properly. * Divide syscall.c to closer resemble the Linux kernel for code partitioning and organization. * Add new fea

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

2007-10-31 Thread Thayne Harbaugh
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 casting the target_ulong to a type before passing to get/put_user() is poor b

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

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

[Qemu-devel] Re: [PATCH] efault - update __get_user() __put_user()

2007-10-31 Thread Thayne Harbaugh
This patch is a minor update to __get_user() and __put_user() to emphasize that they take host points. Index: qemu/linux-user/qemu.h === --- qemu.orig/linux-user/qemu.h 2007-10-31 11:03:03.0 -0600 +++ qemu/linux-user/qemu.h 200

[Qemu-devel] [PATCH] efault - verify pages are in cache and are read/write

2007-10-31 Thread Thayne Harbaugh
This patch adds the function page_check_range() to verify that pages are in the cache and that they are appropriately readable/writable. It also hooks up access_ok() to page_check_range() so that code patterns are similar to kernel code. When copying data from user space access_ok() is used to ch

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

2007-10-31 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/10/31 22:02:17 Modified files: target-ppc : op.c op_template.h translate.c Log message: Fix CR ops with complement, thanks to Julian Seward for testing and

Re: [Qemu-devel] compiling qemu on ubuntu under parallels

2007-10-31 Thread Tim Leek
Sorry. Here's more info. 1. SDL's test programs fail running on Ubuntu running under parallels as follows. % test/testalpha Couldn't initialize SDL: No available video device 2. Whereas the same test program runs fine on a real linux box running Ubuntu. Displays a cute little smiley fac

Re: [Qemu-devel] compiling qemu on ubuntu under parallels

2007-10-31 Thread andrzej zaborowski
On 31/10/2007, Tim Leek <[EMAIL PROTECTED]> wrote: > I tried using the gcc-3.3 that comes with Xcode 2.4. I don't have > Leopard and so cannot try Xcode 3.0. It did not work on my intel > mac. Also tried downloading gcc-3.3 and recompiling with > > configure --enable-languages=c --prefix=blah/bl

Re: [Qemu-devel] compiling qemu on ubuntu under parallels

2007-10-31 Thread Tim Leek
I tried using the gcc-3.3 that comes with Xcode 2.4. I don't have Leopard and so cannot try Xcode 3.0. It did not work on my intel mac. Also tried downloading gcc-3.3 and recompiling with configure --enable-languages=c --prefix=blah/blah make bootstrap This fails. My (limited) web search

Re: [Qemu-devel] How to split vl.h

2007-10-31 Thread Jocelyn Mayer
On Wed, 2007-10-31 at 20:12 +0200, Blue Swirl wrote: > Hi, Hi, > With the automatic dependency rule installed, modifying vl.h causes > all files to be recompiled. This is of course the correct action, but > it's a major slowdown for development too. > > How should we split vl.h into smaller pie

Re: [Qemu-devel] compiling qemu on ubuntu under parallels

2007-10-31 Thread Heikki Lindholm
Tim Leek kirjoitti: Okay I'm having another go at you folk. Again, please feel free to shunt me off in the proper direction when I get annoying. According to Andreas, intel macs can't compile the QEMU source as-is. I'd need to use Q which only works because it has been patched to accommodat

[Qemu-devel] compiling qemu on ubuntu under parallels

2007-10-31 Thread Tim Leek
Okay I'm having another go at you folk. Again, please feel free to shunt me off in the proper direction when I get annoying. According to Andreas, intel macs can't compile the QEMU source as- is. I'd need to use Q which only works because it has been patched to accommodate gcc-4. I've tri

Re: [Qemu-devel] [PATCH] Update i440FX/PIIX3 emulation

2007-10-31 Thread Michael Hanselmann
Hi Avi On Wed, Oct 31, 2007 at 03:17:04PM +0200, Avi Kivity wrote: >> --- bios/acpi-dsdt.dsl 28 Sep 2006 18:56:20 - 1.1 >> +++ bios/acpi-dsdt.dsl 30 Oct 2007 23:52:22 - >> @@ -369,7 +369,7 @@ DefinitionBlock ( >> Method (_STA, 0, NotSerialized) >>

Re: [Qemu-devel] A new book about QEMU

2007-10-31 Thread Andreas Färber
Am 31.10.2007 um 18:34 schrieb Blue Swirl: On 10/31/07, Thiemo Seufer <[EMAIL PROTECTED]> wrote: Blue Swirl wrote: On 10/31/07, Warnke, Robert <[EMAIL PROTECTED]> wrote: Hi, there is a new book about QEMU (in German): http://qemu-buch.de/ Sorry for this advertising. Robert Warnke Nothing

[Qemu-devel] How to split vl.h

2007-10-31 Thread Blue Swirl
Hi, With the automatic dependency rule installed, modifying vl.h causes all files to be recompiled. This is of course the correct action, but it's a major slowdown for development too. How should we split vl.h into smaller pieces? Give each device a header file, like m48t59? What about other stuf

Re: [Qemu-devel] A new book about QEMU

2007-10-31 Thread Jonathan Kalbfeld
And to think we were just in Munchen for Oktoberfest and could have picked up a copy and gotten it autographed. Ich bin ein sheissekopf! On 10/31/07, Warnke, Robert <[EMAIL PROTECTED]> wrote: > > Hi, > there is a new book about QEMU (in German): > > http://qemu-buch.de/ > > Sorry for this adverti

Re: [Qemu-devel] A new book about QEMU

2007-10-31 Thread Thiemo Seufer
Blue Swirl wrote: > On 10/31/07, Warnke, Robert <[EMAIL PROTECTED]> wrote: > > Hi, > > there is a new book about QEMU (in German): > > > > http://qemu-buch.de/ > > > > Sorry for this advertising. > > Robert Warnke > > Nothing about Sparc guest, it seems. Likewise for MIPS. :-) I guess the publish

Re: [Qemu-devel] A new book about QEMU

2007-10-31 Thread Blue Swirl
On 10/31/07, Thiemo Seufer <[EMAIL PROTECTED]> wrote: > Blue Swirl wrote: > > On 10/31/07, Warnke, Robert <[EMAIL PROTECTED]> wrote: > > > Hi, > > > there is a new book about QEMU (in German): > > > > > > http://qemu-buch.de/ > > > > > > Sorry for this advertising. > > > Robert Warnke > > > > Nothi

[Qemu-devel] qemu/hw mips_mipssim.c

2007-10-31 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/10/31 17:14:09 Modified files: hw : mips_mipssim.c Log message: Add copyright and license header. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/hw/mips_mipssim.c?cvsroot=

Re: [Qemu-devel] A new book about QEMU

2007-10-31 Thread Blue Swirl
On 10/31/07, Warnke, Robert <[EMAIL PROTECTED]> wrote: > Hi, > there is a new book about QEMU (in German): > > http://qemu-buch.de/ > > Sorry for this advertising. > Robert Warnke Nothing about Sparc guest, it seems.

Re: [Qemu-devel] [PATCH] Add TPM support

2007-10-31 Thread Thiemo Seufer
Thomas Bleher wrote: > This patch adds support for an Atmel TPM chip. > > Background: TPMs are rather complex chips, supporting many commands and > implementing complex crypto protocols like Direct Anonymous Attestation > (DAA). Therefore, this patch does not directly implement a TPM chip, but > i

[Qemu-devel] [PATCH 2/7] Add scsi support for the target PC

2007-10-31 Thread Laurent Vivier
This patch adds the SCSI support for the target PC. It allows to initalize SCSI interface in the PC init machine. it adds a new interface type "scsi" to "-disk" interface. "-disk file,if=scsi,bus=0,unit=6" allows to connect the disk image file to the bus 0 with the unit id 6. if there is no SCS

[Qemu-devel] [PATCH 0/7] Add -disk interface

2007-10-31 Thread Laurent Vivier
This series of patches add a new interface to qemu to define storages. The new parameter is "-disk": -disk file[,if=type][,index=i][,bus=n][,unit=m][,media=d][,cyls=c,heads=h,secs=s[,trans=t]][snapshot=on|off] where: file is the disk image type is the interface type (ide, scsi, fl

[Qemu-devel] [PATCH 1/7] Add arg -disk to define new disk with more features

2007-10-31 Thread Laurent Vivier
This patch introduces a new parameter allowing to define disks. The new parameter is "-disk": -disk file[,if=type][,index=i][,bus=n][,unit=m][,media=d][,cyls=c,heads=h,secs=s[,trans=t]][snapshot=on|off] where: file is the disk image type is the interface type (ide) i is the in

[Qemu-devel] [PATCH 7/7] Add SecureDigital support by -disk

2007-10-31 Thread Laurent Vivier
This patch allows to define SecureDigital disk using "-disk" syntax" It adds an interface type "sd" "-sd file" becomes the alias of "-disk file,if=sd" -- vl.c | 43 ++- vl.h |3 ++- 2 files changed, 28 insertions(+), 18 deletions(-) Index: qemu/vl.

[Qemu-devel] [PATCH 6/7] Add flash support by -disk

2007-10-31 Thread Laurent Vivier
This patch allows to define a flash (mtd) using the "-disk" syntax. It adds an interface type "mtd" "-mtdblock file" is an alias for "-disk file,if=mtd" -- vl.c | 39 +++ vl.h |5 - 2 files changed, 27 insertions(+), 17 deletions(-) Index: qemu/vl.

[Qemu-devel] [PATCH 5/7] Add parallel flash support by -disk

2007-10-31 Thread Laurent Vivier
This patch allows to define a parallel flash using -disk syntax. It adds an interface type "pflash". "-pflash file" is an alias for "-disk file,if=pflash" -- vl.c | 59 +-- vl.h |2 +- 2 files changed, 34 insertions(+), 27 deletions(

[Qemu-devel] [PATCH 4/7] remove fd_filename from the machine init interface

2007-10-31 Thread Laurent Vivier
As the parameter fd_filename seems unused and as we can't provide it anymore using the "-disk" interface, this patch removes it. -- hw/an5206.c|2 +- hw/etraxfs.c |2 +- hw/integratorcp.c |2 +- hw/mcf5208.c |2 +- hw/mips_malta.c|2 +- hw/mips_mipssi

[Qemu-devel] [PATCH 3/7] Add floppy support by -disk

2007-10-31 Thread Laurent Vivier
This patch allows to define floppy using the "-disk" syntax. It adds an interface type "floppy". "-fda file" is an alias for "-disk file,index=0,if=floppy" "-fdb file" is an alias for "-disk file,index=1,if=floppy" -- vl.c | 86 +++--

Re: [Qemu-devel] compiling qemu on intel mac?

2007-10-31 Thread Andreas Färber
Am 31.10.2007 um 15:00 schrieb Tim Leek: I'm trying to compile QEMU on an intel Mac. OSX 10.4.10 (not Leopard). The problem is that this machine comes with gcc-4.1. I used gcc_select to switch over to gcc-3.3 but that seems broken -- won't compile anything. I found some evidence on the

Re: [Qemu-devel] [PATCH] Add TPM support

2007-10-31 Thread Thomas Bleher
This patch adds support for an Atmel TPM chip. Background: TPMs are rather complex chips, supporting many commands and implementing complex crypto protocols like Direct Anonymous Attestation (DAA). Therefore, this patch does not directly implement a TPM chip, but instead utilizes the TPM emulator

[Qemu-devel] compiling qemu on intel mac?

2007-10-31 Thread Tim Leek
Perhaps this question is better addressed to the users group, but after some searching there I found no help. Forgive and redirect me at your pleasure. I'm trying to compile QEMU on an intel Mac. OSX 10.4.10 (not Leopard). The problem is that this machine comes with gcc-4.1. I used gc

[Qemu-devel] Re: emu errors for creqv,crnand,crnor,crorc ?

2007-10-31 Thread Jocelyn Mayer
On Wed, 2007-10-31 at 14:39 +0100, Julian Seward wrote: > > > way around. Below is a simple test case. On QEMU it prints > > > > > > result is 000fc000 > > > > > > and on a real 7447 > > > > > > result is 4000 > > > > > What is strange is that 0xFC + 0x04... I will have to check all the

Re: [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target

2007-10-31 Thread Daniel P. Berrange
On Wed, Oct 31, 2007 at 02:56:53PM +0200, Dan Kenigsberg wrote: > On Wed, Oct 31, 2007 at 11:17:23AM +0100, Laurent Vivier wrote: > > Dan Kenigsberg a écrit : > > >Hi, > > > > > >I have some newby's questions: is a speedup expected, comparing to ide > > > > We should have a speedup. > > Would you

[Qemu-devel] Re: emu errors for creqv,crnand,crnor,crorc ?

2007-10-31 Thread Julian Seward
> > way around. Below is a simple test case. On QEMU it prints > > > > result is 000fc000 > > > > and on a real 7447 > > > > result is 4000 > > > What is strange is that 0xFC + 0x04... I will have to check all the CR > ops, I guess... Another strange thing is that 000fc000 does not hav

[Qemu-devel] Re: emu errors for creqv,crnand,crnor,crorc ?

2007-10-31 Thread Jocelyn Mayer
On Wed, 2007-10-31 at 12:37 +0100, Julian Seward wrote: > Hi Jocelyn Hi, > I ran valgrind's ppc32 insn set tests and got the impression that > the above insns are not correctly implemented. It seems like 7 bits > of CR are set to 1 and one is set to 0, when it should be the other > way around.

Re: [Qemu-devel] A new book about QEMU

2007-10-31 Thread Avi Kivity
Warnke, Robert wrote: Hi, there is a new book about QEMU (in German): http://qemu-buch.de/ Sorry for this advertising. Robert Warnke Have the movie rights gone yet? -- Any sufficiently difficult bug is indistinguishable from a feature.

Re: [Qemu-devel] [PATCH] Update i440FX/PIIX3 emulation

2007-10-31 Thread Avi Kivity
Michael Hanselmann wrote: This does not yet remove the workaround introduced by Igor Lvovsky's patch. However, I'm working on that since it, despite my earlier mail, seems to help with my ACPI shutdown problem. So, I found the bug causing this behaviour. It turned out to be a wrongly nam

Re: [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target

2007-10-31 Thread Dan Kenigsberg
On Wed, Oct 31, 2007 at 11:17:23AM +0100, Laurent Vivier wrote: > Dan Kenigsberg a écrit : > >Hi, > > > >I have some newby's questions: is a speedup expected, comparing to ide > > We should have a speedup. Would you suggest where it could show? I was trying simple dd and bonnie++, and saw big var

Re: [Qemu-devel] [PATCH] Add TPM support

2007-10-31 Thread Thiemo Seufer
Thomas Bleher wrote: > This patch adds support for an Atmel TPM chip. > > Background: TPMs are rather complex chips, supporting many commands and > implementing complex crypto protocols like Direct Anonymous Attestation > (DAA). Therefore, this patch does not directly implement a TPM chip, but > i

[Qemu-devel] A new book about QEMU

2007-10-31 Thread Warnke, Robert
Hi, there is a new book about QEMU (in German): http://qemu-buch.de/ Sorry for this advertising. Robert Warnke smime.p7s Description: S/MIME Cryptographic Signature

[Qemu-devel] [PATCH] Add TPM support

2007-10-31 Thread Thomas Bleher
This patch adds support for an Atmel TPM chip. Background: TPMs are rather complex chips, supporting many commands and implementing complex crypto protocols like Direct Anonymous Attestation (DAA). Therefore, this patch does not directly implement a TPM chip, but instead utilizes the TPM emulator

[Qemu-devel] emu errors for creqv,crnand,crnor,crorc ?

2007-10-31 Thread Julian Seward
Hi Jocelyn I ran valgrind's ppc32 insn set tests and got the impression that the above insns are not correctly implemented. It seems like 7 bits of CR are set to 1 and one is set to 0, when it should be the other way around. Below is a simple test case. On QEMU it prints result is 000fc000

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

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

Re: [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target

2007-10-31 Thread Laurent Vivier
Dan Kenigsberg a écrit : Hi, I have some newby's questions: is a speedup expected, comparing to ide We should have a speedup. But an improvement can also be to interface a _real_ SCSI disk and send directly to it the SCSI commands generated by the _virtual_ SCSI interface (as it is done in B

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

2007-10-31 Thread andrzej zaborowski
On 31/10/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > On Wed, 2007-10-31 at 03:35 +0100, andrzej zaborowski wrote: > > Hi, > > > > On 31/10/2007, J. Mayer <[EMAIL PROTECTED]> wrote: > > > > > > On Wed, 2007-10-31 at 01:54 +, Andrzej Zaborowski wrote: > > > > CVSROOT: /sources/qemu > > > >

Re: [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target

2007-10-31 Thread Dan Kenigsberg
Hi, I have some newby's questions: is a speedup expected, comparing to ide (I didn't notice any)? Can the PC boot from a SCSI-mounted device (I did not succeede)?