qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: Re: Using Qemu to install Linux in a Windows XP


From: Ronald
Subject: [Qemu-devel] Re: Re: Using Qemu to install Linux in a Windows XP
Date: Tue, 16 Nov 2004 01:56:19 +0100
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]