[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 my

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

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 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'm using qemu to

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,

[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

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

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

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 line this way,

[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 j_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

[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 j_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, ...)