File: example1.xml

package info (click to toggle)
virtinst 0.400.0-7
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 1,388 kB
  • ctags: 953
  • sloc: python: 7,475; xml: 848; sh: 25; makefile: 11
file content (38 lines) | stat: -rw-r--r-- 917 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<image>
  <name>example-image</name>
  <label>Example Image</label>
  <domain>
    <boot type="xen">
      <guest>
        <arch>i686</arch>
        <features><pae/></features>
      </guest>
      <os>
        <loader>pygrub</loader>
      </os>
      <drive disk="boot-xen.img" target="xvda"/>
      <drive disk="root.img" target="xvdb"/>
    </boot>
    <boot type="hvm">
      <guest>
        <arch>i686</arch>
      </guest>
      <os>
        <loader dev="hd"/>
      </os>
      <drive disk="root.img" target="hdb"/>
      <drive disk="boot-hvm.img" target="hda"/>
    </boot>
    <devices>
      <vcpu>1</vcpu>
      <memory>262144</memory>
      <interface/>
      <graphics/>
    </devices>
  </domain>
  <storage>
    <disk file="root.img" use="system" format="raw"/>
    <disk file="boot-xen.img" use="system" format="raw"/>
    <disk file="boot-hvm.img" use="system" format="raw"/>
  </storage>
</image>