Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32

2007-10-24 Thread Johannes Schindelin
Hi, On Wed, 24 Oct 2007, Stefan Weil wrote: > Johannes Schindelin schrieb: > > I think I fixed it. Since I am not your regular Windows user (I only > > use Windows when I have to), I cannot tell if it works, though. > > > > It is here: > > http://repo.or.cz/w/qemu/dscho.git?a=shortlog;h=diskgeo

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

2007-10-24 Thread Michael Hanselmann
The patch below updates the i440FX/PIIX3 emulation. It does: - Add links to all datasheets containing the specifications - Combine initialization functions for the PIIX, PIIX3 and PIIX4 chips - Break apart long lists of magic values and name them - Set more registers to their default values from th

Re: [Qemu-devel] qemu host-utils.c

2007-10-24 Thread J. Mayer
On Wed, 2007-10-24 at 18:37 +0100, Thiemo Seufer wrote: > J. Mayer wrote: > > > > On Wed, 2007-10-24 at 12:20 +0200, Fabrice Bellard wrote: > > > I strongly suggest to reuse my code which was in target-i386/helper.c > > > revision 1.80 which was far easier to validate. Moreover, integer > > > d

Re: [Qemu-devel] [Patch] set boot sequence from command line

2007-10-24 Thread J. Mayer
On Wed, 2007-10-24 at 23:59 +0200, andrzej zaborowski wrote: > On 24/10/2007, Dan Kenigsberg <[EMAIL PROTECTED]> wrote: > > Real PCs try to boot from a CD, then try the hard drive, and finally go > > to the network. And they let their owner change that order. > > With the difference that on real

Re: [Qemu-devel] [Patch] set boot sequence from command line

2007-10-24 Thread andrzej zaborowski
On 24/10/2007, Dan Kenigsberg <[EMAIL PROTECTED]> wrote: > Real PCs try to boot from a CD, then try the hard drive, and finally go > to the network. And they let their owner change that order. With the difference that on real PCs this is controlled by the BIOS menu rather than a hardware switch, b

Re: [Qemu-devel] [Patch] set boot sequence from command line

2007-10-24 Thread Daniel P. Berrange
On Wed, Oct 24, 2007 at 04:41:20PM -0500, Anthony Liguori wrote: > Dan Kenigsberg wrote: > >Real PCs try to boot from a CD, then try the hard drive, and finally go > >to the network. And they let their owner change that order. > >This patch lets Qemu do the same with "-boot dcn". > > > >I'll be hap

Re: [Qemu-devel] [Patch] set boot sequence from command line

2007-10-24 Thread Anthony Liguori
Dan Kenigsberg wrote: Real PCs try to boot from a CD, then try the hard drive, and finally go to the network. And they let their owner change that order. This patch lets Qemu do the same with "-boot dcn". I'll be happy to hear comments about it, Looks good to me. I wrote a very similar pat

Re: [Qemu-devel] [Patch] set boot sequence from command line

2007-10-24 Thread Laurent Vivier
Dan Kenigsberg a écrit : Real PCs try to boot from a CD, then try the hard drive, and finally go to the network. And they let their owner change that order. This patch lets Qemu do the same with "-boot dcn". I'll be happy to hear comments about it, Personally, I think it's a very good idea. L

Re: [Qemu-devel] qemu host-utils.c

2007-10-24 Thread Fabrice Bellard
Jocelyn Mayer wrote: On Wed, 2007-10-24 at 18:37 +0100, Thiemo Seufer wrote: J. Mayer wrote: On Wed, 2007-10-24 at 12:20 +0200, Fabrice Bellard wrote: I strongly suggest to reuse my code which was in target-i386/helper.c revision 1.80 which was far easier to validate. Moreover, integer divisi

Re: [Qemu-devel] qemu host-utils.c

2007-10-24 Thread Jocelyn Mayer
On Wed, 2007-10-24 at 18:37 +0100, Thiemo Seufer wrote: > J. Mayer wrote: > > > > On Wed, 2007-10-24 at 12:20 +0200, Fabrice Bellard wrote: > > > I strongly suggest to reuse my code which was in target-i386/helper.c > > > revision 1.80 which was far easier to validate. Moreover, integer > > > d

Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32

2007-10-24 Thread Stefan Weil
Johannes Schindelin schrieb: > I think I fixed it. Since I am not your regular Windows user (I only use > > Windows when I have to), I cannot tell if it works, though. > > It is here: http://repo.or.cz/w/qemu/dscho.git?a=shortlog;h=diskgeometry > > Any testing (especially the physical drive on Wind

Re: [Qemu-devel] qemu host-utils.c

2007-10-24 Thread Thiemo Seufer
J. Mayer wrote: > > On Wed, 2007-10-24 at 12:20 +0200, Fabrice Bellard wrote: > > I strongly suggest to reuse my code which was in target-i386/helper.c > > revision 1.80 which was far easier to validate. Moreover, integer > > divisions from target-i386/helper.c should be put in the same file. >

Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32

2007-10-24 Thread Johannes Schindelin
Hi, On Wed, 24 Oct 2007, Thiemo Seufer wrote: > Johannes Schindelin wrote: > > > Staying backwards compatible in this case is so easy, it is not even > > funny. (And certainly no reason to groan over having to support it.) > > A undirected remark to the general public: If somebody comes up wi

[Qemu-devel] qemu qemu-img.c

2007-10-24 Thread Thiemo Seufer
CVSROOT:/sources/qemu Module name:qemu Changes by: Thiemo Seufer 07/10/24 16:11:42 Modified files: . : qemu-img.c Log message: Fix typo, spotted by Edivaldo de Araujo Pereira. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/qemu-img.c?cvsr

Re: [Qemu-devel] qemu-2007-10-24 build error

2007-10-24 Thread Edgar E. Iglesias
On Wed, Oct 24, 2007 at 04:33:49PM +0100, Thiemo Seufer wrote: > Edgar E. Iglesias wrote: > > On Wed, Oct 24, 2007 at 12:33:24PM +0200, J. Mayer wrote: > > > On Wed, 2007-10-24 at 09:36 +0900, Hwang YunSong(?) wrote: > > > > > > > > gcc32 -g -o qemu-system-cris vl.o osdep.o readline.o moni

[Qemu-devel] Bug in qemu-img

2007-10-24 Thread Edivaldo de Araÿfffffajo Pereira
I think you should already know of a bug in qemu-img that prevents it from using the -c option; the problem is the line if (flags & BLOCK_FLAG_COMPRESS && drv != &bdrv_vmdk) in img_convert() should read if (flags & BLOCK_FLAG_COMPAT6 && drv != &bdrv_vmdk) That's it! By the way, congratulatio

Re: [Qemu-devel] qemu-2007-10-24 build error

2007-10-24 Thread Thiemo Seufer
Edgar E. Iglesias wrote: > On Wed, Oct 24, 2007 at 12:33:24PM +0200, J. Mayer wrote: > > On Wed, 2007-10-24 at 09:36 +0900, Hwang YunSong(?) wrote: > > > > > > gcc32 -g -o qemu-system-cris vl.o osdep.o readline.o monitor.o pci.o > > > console.o loader.o isa_mmio.o cutils.o block.o block-ra

Re: [Qemu-devel] qemu-2007-10-24 build error

2007-10-24 Thread Edgar E. Iglesias
On Wed, Oct 24, 2007 at 12:33:24PM +0200, J. Mayer wrote: > On Wed, 2007-10-24 at 09:36 +0900, Hwang YunSong(?) wrote: > > > > gcc32 -g -o qemu-system-cris vl.o osdep.o readline.o monitor.o pci.o > > console.o loader.o isa_mmio.o cutils.o block.o block-raw.o block-cow.o > > block-qcow.o ae

Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32

2007-10-24 Thread Thiemo Seufer
Johannes Schindelin wrote: > Hi, > > On Wed, 24 Oct 2007, Ivan Kalvachev wrote: > > > 2007/10/22, Stefan Weil <[EMAIL PROTECTED]>: > > > Ivan Kalvachev schrieb: > > > > According to http://msdn2.microsoft.com/en-us/library/aa365171.aspx > > > > > > > > this function requires Win XP or Vista. > >

[Qemu-devel] Mips 64 emulation not compiling

2007-10-24 Thread J. Mayer
The latest patches in clo makes gcc 3.4.6 fail to build the mips64 targets on my amd64 host (looks like an register allocation clash in the optimizer code). Furthermore, the clz micro-op for Mips seems very suspect to me, according to the changes made in the clo implementation. I did change the clz

Re: [Qemu-devel] qemu host-utils.c

2007-10-24 Thread J. Mayer
On Wed, 2007-10-24 at 12:20 +0200, Fabrice Bellard wrote: > I strongly suggest to reuse my code which was in target-i386/helper.c > revision 1.80 which was far easier to validate. Moreover, integer > divisions from target-i386/helper.c should be put in the same file. I fully agree with this. I

Re: [Qemu-devel] qemu-2007-10-24 build error

2007-10-24 Thread J. Mayer
On Wed, 2007-10-24 at 09:36 +0900, Hwang YunSong(황윤성) wrote: > > gcc32 -g -o qemu-system-cris vl.o osdep.o readline.o monitor.o pci.o > console.o loader.o isa_mmio.o cutils.o block.o block-raw.o block-cow.o > block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o > block-bochs.o block-vpc.o blo

Re: [Qemu-devel] qemu host-utils.c

2007-10-24 Thread Fabrice Bellard
I strongly suggest to reuse my code which was in target-i386/helper.c revision 1.80 which was far easier to validate. Moreover, integer divisions from target-i386/helper.c should be put in the same file. Regards, Fabrice. Thiemo Seufer wrote: CVSROOT:/sources/qemu Module name:qem

Re: [Qemu-devel] qemu-2007-10-24 build error

2007-10-24 Thread Edgar E. Iglesias
On Wed, Oct 24, 2007 at 09:36:02AM +0900, Hwang YunSong(??) wrote: >gcc32 -g -o qemu-system-cris vl.o osdep.o readline.o monitor.o pci.o >console.o loader.o isa_mmio.o cutils.o block.o block-raw.o block-cow.o >block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o block-bochs.o >

Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32

2007-10-24 Thread Johannes Schindelin
Hi, On Wed, 24 Oct 2007, Ivan Kalvachev wrote: > 2007/10/22, Stefan Weil <[EMAIL PROTECTED]>: > > Ivan Kalvachev schrieb: > > > According to http://msdn2.microsoft.com/en-us/library/aa365171.aspx > > > > > > this function requires Win XP or Vista. > > > Is qemu supported only on these? > > Good q

Re: [Qemu-devel] [PATCH] Physical hard disk drive for win32

2007-10-24 Thread Ivan Kalvachev
2007/10/22, Stefan Weil <[EMAIL PROTECTED]>: > Ivan Kalvachev schrieb: > > According to http://msdn2.microsoft.com/en-us/library/aa365171.aspx > > > > this function requires Win XP or Vista. > > Is qemu supported only on these? > Good question. The old IOCTL_DISK_GET_DRIVE_GEOMETRY > was also suppo

[Qemu-devel] [Patch] set boot sequence from command line

2007-10-24 Thread Dan Kenigsberg
Real PCs try to boot from a CD, then try the hard drive, and finally go to the network. And they let their owner change that order. This patch lets Qemu do the same with "-boot dcn". I'll be happy to hear comments about it, Dan. diff --git a/hw/an5206.c b/hw/an5206.c index 94ecccb..2134184 10064