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.


Changes to support large shadow pages *correctly*.
[palacios.git] / utils / guest_creator / default.xml
index c022473..3e60cd6 100644 (file)
@@ -3,13 +3,23 @@
 <vm class="PC"> 
 
        <!-- Memory in MB -->
-       <memory>1024</memory> 
+       <memory alignment="2MB">256</memory> 
 
        <!-- Basic VMM system flags -->
        <telemetry>enable</telemetry>
-       <paging>nested</paging>
+       <paging mode="shadow">
+               <strategy>VTLB</strategy>
+               <large_pages/>
+       </paging>
+<!--
+       <paging mode="nested">
+               <large_pages/>
+       </paging>
+-->
        <schedule_hz>100</schedule_hz>
 
+       <cores count="1"><core /></cores>
+
 
        <!-- Memory redirections -->
        <!-- Redirects a guest's memory region to a host physical address -->
@@ -27,7 +37,7 @@
        <!-- This is where you add disk images -->
        <files>
                <!-- The file 'id' is used as a reference for other configuration components -->
-               <file id="boot-cd" filename="/home/jarusl/image.iso" />
+               <file id="boot-cd" filename="image.iso" />
                <!--<file id="harddisk" filename="firefox.img" />-->
        </files>
 
                <device id="8254_PIT" name="PIT" />
                <device id="BOCHS_DEBUG" name="bochs debug"/>
                <device id="OS_DEBUG" name="os debug" />
-               <device id="LAPIC" name="apic"/>
+               <device id="ICC_BUS" name="icc"/>
+               <device id="LAPIC" name="apic">
+                       <bus>icc</bus>
+               </device>
                <device id="IOAPIC" name="ioapic">
-                       <irq_bus>apic</irq_bus>
+                       <bus>icc</bus>
                </device>
 
 <!--
                        <bus>pci0</bus>
                </device>
 
-               <device id="LNX_VIRTIO_SYM" name="sym_pci">
+               <device id="IDE" name="ide">
                        <bus>pci0</bus>
+                       <controller>southbridge</controller>
                </device>
+                 
 
-               <device id="LNX_VIRTIO_BLK" name="blk_virtio">
+
+<!--
+               <device id="LNX_VIRTIO_SYM" name="sym_pci">
                        <bus>pci0</bus>
                </device>
 
-               <device id="LNX_VIRTIO_BALLOON" name="balloon">
+               <device id="LNX_VIRTIO_BLK" name="blk_virtio">
                        <bus>pci0</bus>
                </device>
 
-               <device id="IDE" name="ide">
+               <device id="LNX_VIRTIO_BALLOON" name="balloon">
                        <bus>pci0</bus>
-                       <controller>southbridge</controller>
                </device>
 
                <device id="PCI_PASSTHROUGH" name="e1000">
                        <device_id>0x107c</device_id>
                        <irq>64</irq>
                </device>
+-->
 
 
                <!-- This is a Storage Backend that connects to a frontend -->
                        </frontend>
                </device>
 
+
+<!---
                <device id="SYM_SWAP" name="sym swap">
                        <frontend tag="blk_virtio" />
                        <size>150</size>
                </device>
 
-
-
                <device id="RAMDISK" name="HD0">
                        <file>harddisk</file>
                        <frontend tag="blk_virtio" />
                </device>
-
+-->
 
                <device id="NVRAM" name="nvram">
                        <storage>ide</storage>