1 Once you have built a vmm.img file (see SETUP.WINDOWS for how to set
2 up and test the development environment needed to do this), you can do
5 - dd vmm.img to a floppy and boot from it (linux)
6 - network boot from vmm.img using PXE (linux)
7 - use mkisofs to build a bootable cdrom from vmm.img (linux)
8 - boot from vmm.img using qemu or other emulator
10 All but the last option (qemu) are very site-dependent.
12 To boot from vmm.img using qemu, do the following:
14 Make sure qemu is installed. You will need at least version 0.9.1 for
15 the necessary support of AMD SVM virtualization extensions.
17 If you would like to install qemu, a copy is in the repository.
18 Here is how to install it.
20 export DEVROOT=/path/to/your/vmm-tools
22 unzip $DEVROOT/utils/Qemu-0.9.1-windows.zip
23 export QEMU=$DEVROOT/devtools/Qemu-0.9.1-windows
25 A subtle thing in using this windows port of qemu from a cygwin
26 environment is that it uses the *windows* paths, not the cygwin paths.
27 Sort of. This is a bit fuzzy.
29 A simple trick is to copy your vmm.img and whatever else *to* $QEMU
30 and then run a modified qemu.bat file from there. Note that it is important
31 that the batch file run $QEMU/bin/qemu-system-x86_64. See below
32 for a more complete example.
34 You can also run qemu and generate the path in a somewhat convulted
35 way. For example, if I develop in $DEVROOT/vmm-hack1/build, and
36 $QEMU is as above, then, I can run as follows:
38 $QEMU/bin/qemu-system-x86_64.exe -L ../../devtools/Qemu-0.9.1-windows/Bios -m 1024 -serial file:serial.out -fda vmm.img
40 On running this, you should see the vmm boot in a window, accompanied
41 by lots of debugging output being spit into the file serial.out.
43 You can add other options to, for example, provide a boot cd, network