LiveCDQemuWin32

Differences between revisions 2 and 3
Revision 2 as of 2006-03-08 17:22:10
Size: 1895
Editor: cpc2-stap6-4-1-cust8
Comment:
Revision 3 as of 2006-03-09 03:06:29
Size: 2722
Editor: cpc2-stap6-4-1-cust8
Comment: notes after getting to work in windows
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:
Current Status:

 * Boots under Wine under X, but with corrupt video
 * Boots under Windows, but with no mouse (seemed to be fixed with a reboot...)

{{{
C:\Documents and Settings\sladen\Desktop\qemu-win32_0.8.0-0loadaddr>qemu -m 180
-L . -kernel d:\install\vmlinuz -initrd ..\initramfs.gz -hdd d:\casper\filesyste
m.squashfs -hda ..\20040602150630937_YP780_yepp_studio_driver.zip -append "boot=
casper quiet splash"
}}}

 * There is no `/dev/zero` on Windows, so a random file is used instead; EVMS then complains that there isn't a partition table on it and asks interactive questions before dumping you at a command prompt.
 * usplash times out on `pre-init`

More links:

 * http://www.h7.dion.ne.jp/~qemu-win/
 * Qvm86 appears to be the windows equivalent of Kqemu (the binary accelarator module).

Summary

Rationale

Use cases

Scope

Design

Implementation

make -fwin32/Makefile.gcc zlib1.dll
sudo cp -a zlib.h zconf.h /usr/i586-mingw32msvc/include
sudo cp -a libzdll.a /usr/i586-mingw32msvc/lib/libz.a
paul@katu:~/src/upload/qemu-win32/qemu-0.8.0$ cp -a ../zlib-1.2.3/upstream/tarballs/zlib-1.2.3/zlib1.dll .
paul@katu:~/src/upload/qemu-win32/qemu-0.8.0$ wine ./qemu-img.exe
qemu-img version 0.8.0, Copyright (c) 2004-2005 Fabrice Bellard
usage: qemu-img command [command options]

$ cp -a ../../sdl-1.2.9-win32/bin/SDL.dll .
paul@katu:~/src/upload/qemu-win32/qemu-0.8.0$ wine ./i386-softmmu/qemu.exe  | head
QEMU PC emulator version 0.8.0, Copyright (c) 2003-2005 Fabrice Bellard
usage: qemu [options] [disk_image]

Hzzzzah!

Current Status:

  • Boots under Wine under X, but with corrupt video
  • Boots under Windows, but with no mouse (seemed to be fixed with a reboot...)

C:\Documents and Settings\sladen\Desktop\qemu-win32_0.8.0-0loadaddr>qemu -m 180
-L . -kernel d:\install\vmlinuz -initrd ..\initramfs.gz -hdd d:\casper\filesyste
m.squashfs -hda ..\20040602150630937_YP780_yepp_studio_driver.zip -append "boot=
casper quiet splash"
  • There is no /dev/zero on Windows, so a random file is used instead; EVMS then complains that there isn't a partition table on it and asks interactive questions before dumping you at a command prompt.

  • usplash times out on pre-init

More links:

Code

Data preservation and migration

Outstanding issues

  • Qemu needs GCC 3.3 to build reliably
  • SDL 1.2
  • Zlib

http://fabrice.bellard.free.fr/qemu/qemu-doc.html#TOC56

http://www.libsdl.org/release/SDL-devel-1.2.9-mingw32.tar.gz

sudo apt-get install mingw32-binutils mingw32 mingw32-runtime

cp -al qemu-0.8.0/ qemu-0.8.0-win32

export PATH=/home/paul/src/upload/sdl-1.2.9-win32/bin/:$PATH
./configure --enable-mingw32 --cross-prefix=i586-mingw32msvc-

ERROR: "i586-mingw32msvcgcc" looks like gcc 4.x
QEMU is known to have problems when compiled with gcc 4.x
It is recommended that you use gcc 3.x to build QEMU
To use this compiler anyway, configure with --disable-gcc-check

make install

*lots of errors*

BoF agenda and discussion


CategorySpec

LiveCDQemuWin32 (last edited 2008-08-06 16:15:37 by localhost)