File: install-fullyvirt-disk-file.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 (34 lines) | stat: -rw-r--r-- 894 bytes parent folder | download
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
<domain type='xen'>
  <name>TestGuest</name>
  <currentMemory>204800</currentMemory>
  <memory>409600</memory>
  <uuid>12345678-1234-1234-1234-123456789012</uuid>
  <os>
    <type>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/><apic/>
  </features>
  <clock offset="utc"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu>5</vcpu>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <console type='pty'/>
    <disk type='file' device='disk'>
      <source file='/tmp/test.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='block' device='cdrom'>
      <source dev='/dev/loop0'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <input type='mouse' bus='ps2'/>
    <graphics type='sdl'/>
  </devices>
</domain>