File: image.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 (48 lines) | stat: -rw-r--r-- 1,278 bytes parent folder | download | duplicates (5)
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
39
40
41
42
43
44
45
46
47
48
<image>
  <name>test-image</name>
  <label>A simple test image</label>
  <domain>
    <boot type='xen'>
      <guest>
        <os_type>xen</os_type>
        <arch>i386</arch>
        <features><pae/></features>
      </guest>
      <os>
        <loader>pygrub</loader>
      </os>
      <drive disk="root.raw" target="xvda"/>
      <drive disk="data.raw" target="xvdb"/>
      <drive disk="scratch.raw" target="xvdc"/>
    </boot>
    <boot type="hvm">
      <guest>
        <arch>i686</arch>
        <features><pae/></features>
      </guest>
      <os>
        <type>hvm</type>
        <loader dev="hd"/>
      </os>
      <drive disk="root.raw" target="hda"/>
      <drive disk="data.raw" target="hdb"/>
      <drive disk="scratch.raw" target="hdd"/>
    </boot>
    <devices>
       <vcpu>7</vcpu>
       <memory>262144</memory>
       <interface/>
       <graphics/>
    </devices>
  </domain>
  <storage>
    <disk file="disk.img"/>
    <disk size="4096" use="system">
      <partition file="boot.img"/>
      <partition file="root.img"/>
    </disk>
    <disk file="root.raw" format="raw" size="4096" use="system"/>
    <disk file="data.raw" format="raw" size='2048' use="data"/>
    <disk file="scratch.raw" format="raw" size='100' use='scratch'/>
  </storage>
</image>