qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Ronald <look@reply.to>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: Re: Using Qemu to install Linux in a Windows XP
Date: Tue, 16 Nov 2004 01:56:19 +0100	[thread overview]
Message-ID: <pan.2004.11.16.00.56.06.159255@reply.to> (raw)
In-Reply-To: 419923A1.4000905@bellard.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"

  reply	other threads:[~2004-11-16  1:05 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5100168789854548368@unknownmsgid>
2004-11-14 21:41 ` [Qemu-devel] Re: Using Qemu to install Linux in a Windows XP Brett Bonfield
2004-11-14 21:46   ` Fabrice Bellard
2004-11-14 15:45     ` [Qemu-devel] SDL compile error Shivkumar Shivaji
2004-11-15  0:20       ` Jim C. Brown
2004-11-15 15:40     ` [Qemu-devel] Re: Using Qemu to install Linux in a Windows XP Brett Bonfield
2004-11-15 16:34       ` Ronald
2004-11-15 21:46         ` Fabrice Bellard
2004-11-16  0:56           ` Ronald [this message]
2004-11-14 23:03   ` Ronald
2004-11-15 13:52   ` Anand Kumria

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2004.11.16.00.56.06.159255@reply.to \
    --to=look@reply.to \
    --cc=daimon55@free.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).