From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTrmp-0005sl-GP for qemu-devel@nongnu.org; Mon, 15 Nov 2004 20:05:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTrmo-0005sT-Q8 for qemu-devel@nongnu.org; Mon, 15 Nov 2004 20:05:35 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTrmo-0005sJ-KY for qemu-devel@nongnu.org; Mon, 15 Nov 2004 20:05:34 -0500 Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTrdv-0000IP-Us for qemu-devel@nongnu.org; Mon, 15 Nov 2004 19:56:24 -0500 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CTrdv-0004EM-00 for ; Tue, 16 Nov 2004 01:56:23 +0100 Received: from amarseille-206-1-21-224.w81-50.abo.wanadoo.fr ([81.50.229.224]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2004 01:56:23 +0100 Received: from daimon55 by amarseille-206-1-21-224.w81-50.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Nov 2004 01:56:23 +0100 From: Ronald Date: Tue, 16 Nov 2004 01:56:19 +0100 Message-ID: References: <5100168789854548368@unknownmsgid> <4197D253.1050606@bellard.org> <419923A1.4000905@bellard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Sender: news Subject: [Qemu-devel] Re: Re: Using Qemu to install Linux in a Windows XP Reply-To: daimon55@free.fr, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Le Mon, 15 Nov 2004 22:46:09 +0100, Fabrice Bellard a écrit : > Ronald wrote: >> Le Mon, 15 Nov 2004 10:40:22 -0500, Brett Bonfield a écrit : >> >> >>>I hope I didn't offend anyone and I definitely didn't mean to imply that >>>dd for Win32 was somehow better than mkqemuimage.exe. Honestly, I don't >>>know anything about mkqemuimage--someone on the Mepis forum suggested >>>using dd so I investigated how to do that on Windows. Is there a good >>>reason to use mkqemuimage instead of dd for Win32? I have no idea how to >>>adjust mkqemuimage so that it meets my needs, but if someone else wants >>>to take on that project I suspect I'm one of many people who would be >>>grateful. >>> >>>Brett >> >> >> Is there a particular reason to not use qemu-img.exe? mkqemuimage is >> perhaps much simpler to use but have this 2G limit and only output raw >> images. >> >> Anyway this is a nice tool that have been created for making empty >> images to use with qemu on windows instead of borrowing one from another >> project. > > OOops, sorry, I wanted to say that qemu-img.exe should be used instead of > other tools as it handles all images formats that QEMU supports and some > manipulations like AES encryption and compression. > > Fabrice. Perhaps I could remove mkqemuimage from the windows installer now, move it in a subdir, or put some info about images in a Readme, so qemu-img is used preferably. You choose. I am not aware of frontends that use it, except for QEMUMenu. About qemu-img.exe, it is not installed by default for windows build (?) --- Makefile 2004-11-16 00:56:50.556422348 +0100 +++ ../qemu-win32/Makefile 2004-11-16 00:58:16.795243392 +0100 @@ -10,18 +10,18 @@ LDFLAGS=-g LIBS= DEFINES+=-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -TOOLS=qemu-img +TOOLS=qemu-img$(EXESUF) ifdef CONFIG_STATIC LDFLAGS+=-static endif -DOCS=qemu-doc.html qemu-tech.html qemu.1 qemu-img.1 +DOCS=qemu-doc.html qemu-tech.html qemu-img.html qemu.1 qemu-img.1 all: dyngen$(EXESUF) $(TOOLS) $(DOCS) for d in $(TARGET_DIRS); do \ $(MAKE) -C $$d $@ || exit 1 ; \ done -qemu-img: qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c +qemu-img$(EXESUF): qemu-img.c block.c block-cow.c block-qcow.c aes.c block-vmdk.c block-cloop.c $(CC) -DQEMU_TOOL $(CFLAGS) $(LDFLAGS) $(DEFINES) -o $@ $^ -lz $(LIBS) dyngen$(EXESUF): dyngen.c @@ -44,9 +44,7 @@ install: all mkdir -p "$(bindir)" -ifndef CONFIG_WIN32 install -m 755 -s $(TOOLS) "$(bindir)" -endif mkdir -p "$(datadir)" install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \ pc-bios/vgabios-cirrus.bin \ @@ -54,7 +52,7 @@ pc-bios/proll.bin \ pc-bios/linux_boot.bin "$(datadir)" mkdir -p "$(docdir)" - install -m 644 qemu-doc.html qemu-tech.html "$(docdir)" + install -m 644 qemu-doc.html qemu-tech.html qemu-img.html Changelog "$(docdir)" ifndef CONFIG_WIN32 mkdir -p "$(mandir)/man1" install qemu.1 qemu-img.1 "$(mandir)/man1"