[Qemu-devel] qemu hw/ppc.c hw/ppc_chrp.c hw/ppc_prep.c targe...

2007-04-12 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/12 21:24:29 Modified files: hw : ppc.c ppc_chrp.c ppc_prep.c target-ppc : cpu.h translate_init.c Log message: Add PowerPC 405 input pins (IRQ, resets, ...) model. CVS

Re: Qemu-PPC problems (was [Qemu-devel] Just to add one single point)

2007-04-12 Thread Jason Wessel
J. Mayer wrote: On Thu, 2007-04-12 at 10:49 -0500, Jason Wessel wrote: A kernel > 4 MB ? Even on my amd64 I usually have kernels smaller than this. Is there any need to have such a big kernel for anyone ? Maybe no one else has the need but me... I built a kernel with nearly all built i

[Qemu-devel] qemu vl.h hw/ppc.c target-ppc/cpu.h target-ppc/...

2007-04-12 Thread Jocelyn Mayer
CVSROOT:/sources/qemu Module name:qemu Changes by: Jocelyn Mayer 07/04/12 21:11:03 Modified files: . : vl.h hw : ppc.c target-ppc : cpu.h op_helper.c Log message: Embedded PowerPC Device Control Registers infrastruct

Re: Qemu-PPC problems (was [Qemu-devel] Just to add one single point)

2007-04-12 Thread J. Mayer
On Thu, 2007-04-12 at 10:49 -0500, Jason Wessel wrote: > J. Mayer wrote: > > On Wed, 2007-04-11 at 17:49 -0400, Rob Landley wrote: > > > >> qemu-system-ppc -M prep -nographic -kernel zImage-powerpc -append \ > >> "console=/dev/ttyS0" > >> > > > > You cannot append anything to the command

Re: [Qemu-devel] qemu-img qcow and raw format

2007-04-12 Thread Daniel Silverstone
On Thu, 2007-04-12 at 10:09 +0200, Francois Visconte wrote: > qemu-img: Could not open 'deploy-in.fifo' > Is there any way to achieve this goal ? It strikes me that it's likely qemu-img assumes it can seek around in the file it is reading from, so perhaps you'll have to look at modifying qemu-

Re: Qemu-PPC problems (was [Qemu-devel] Just to add one single point)

2007-04-12 Thread Jason Wessel
Jason Wessel wrote: There is a new regression between Apr 9 and Apr 10 in the QEMU CVS HEAD where tcp checksums are failing again. :-( I stand corrected it not the TCP check sums. The new PPC pic code does not work so as to allow the ethernet device driver to receive packets. I guess t

[Qemu-devel] Saving and restoring CPU state

2007-04-12 Thread eady
I'm still looking for any suggestions on how to save and restore the target cpu state from within a custom instruction in op.c. I basically want a custom instruction to save the cpu state to a data structure and then continue on normally, a second custom instruction would then be used to restor

Re: Qemu-PPC problems (was [Qemu-devel] Just to add one single point)

2007-04-12 Thread Jason Wessel
J. Mayer wrote: On Wed, 2007-04-11 at 17:49 -0400, Rob Landley wrote: qemu-system-ppc -M prep -nographic -kernel zImage-powerpc -append \ "console=/dev/ttyS0" You cannot append anything to the command line this way, with the PPC firmware... You can append options when using yaboot, n

Re: [Qemu-devel] qemu-img qcow and raw format

2007-04-12 Thread Ben Taylor
Francois Visconte <[EMAIL PROTECTED]> wrote: > Hello, > > I'm currently developing an OS deployment tool similar to G4U (ghost for > unix). > This is a very basic tool > - boot an initrd > - configure network > - ssh deployment-server "cat image.dd" > /dev/sda > - reboot > > > I

Re: [Qemu-devel] qemu-img qcow and raw format

2007-04-12 Thread Francois Visconte
Hello Creating a temp file maybe? I'm using qemu-img from an initrd so i can't create big file into a temps file. Creating a temp file may cause deployment to be 2 times longer: - ssh ... "cat image.dd" > temp_file - qemu-img convert temp_file -O raw /dev/sda Cheers, François

Re: [Qemu-devel] qemu-img qcow and raw format

2007-04-12 Thread Gildas
Creating a temp file maybe? Cheers, Gildas 2007/4/12, Francois Visconte <[EMAIL PROTECTED]>: Hello, I'm currently developing an OS deployment tool similar to G4U (ghost for unix). This is a very basic tool - boot an initrd - configure network - ssh deployment-server "cat image.dd" > /de

[Qemu-devel] qemu-img qcow and raw format

2007-04-12 Thread Francois Visconte
Hello, I'm currently developing an OS deployment tool similar to G4U (ghost for unix). This is a very basic tool - boot an initrd - configure network - ssh deployment-server "cat image.dd" > /dev/sda - reboot I'm using qemu to test my initrd and deployment tool and i would like replace

Re:Qemu-PPC problems (was [Qemu-devel] Just to add one single point)

2007-04-12 Thread J. Mayer
On Wed, 2007-04-11 at 17:49 -0400, Rob Landley wrote: > On Monday 09 April 2007 6:32 pm, J. Mayer wrote: > > On Mon, 2007-04-09 at 17:26 -0400, Rob Landley wrote: > > > On Sunday 08 April 2007 7:19 pm, Paul Brook wrote: > > [...] > > > > > > AFAIK PPC emulation hasn't *ever* worked well enough t