Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


changed inline functions to static
[palacios.git] / RUNNING.WINDOWS
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
3 the following:
4
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 
9
10 All but the last option (qemu) are very site-dependent.  
11
12 To boot from vmm.img using qemu, do the following:
13
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.  
16
17 If you would like to install qemu, a copy is in the repository.  
18 Here is how to install it. 
19
20 export DEVROOT=/path/to/your/vmm-tools
21 cd $DEVROOT/devtools
22 unzip $DEVROOT/utils/Qemu-0.9.1-windows.zip
23 export QEMU=$DEVROOT/devtools/Qemu-0.9.1-windows
24
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.
28
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.
33
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:
37
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
39
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.
42
43 You can add other options to, for example, provide a boot cd, network
44 cards, etc.
45
46
47
48