sexpr2xml-fv-force-hpet.xml 1.7 KB
Newer Older
1 2 3
<domain type='xen' id='1'>
  <name>fvtest</name>
  <uuid>b5d70dd2-75cd-aca5-1776-9660b059d8bc</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>409600</memory>
  <currentMemory unit='KiB'>409600</currentMemory>
6
  <vcpu placement='static'>1</vcpu>
7 8
  <os>
    <type>hvm</type>
9
    <loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
10 11 12 13 14
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
  </features>
15
  <clock offset='variable' adjustment='0' basis='utc'>
16 17 18 19 20 21
    <timer name='hpet' present='yes'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
22
    <emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
23
    <disk type='file' device='disk'>
24
      <driver name='file' type='raw'/>
25 26
      <source file='/root/foo.img'/>
      <target dev='hda' bus='ide'/>
27
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
28 29
    </disk>
    <disk type='file' device='cdrom'>
30
      <driver name='file' type='raw'/>
31 32 33
      <source file='/root/boot.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
34
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
35
    </disk>
36
    <controller type='xenbus' index='0'/>
37
    <controller type='ide' index='0'/>
38 39 40 41 42 43 44 45
    <interface type='bridge'>
      <mac address='00:16:3e:1b:b1:47'/>
      <source bridge='xenbr0'/>
      <script path='vif-bridge'/>
      <target dev='vif1.0'/>
      <model type='e1000'/>
    </interface>
    <input type='mouse' bus='ps2'/>
L
Li Zhang 已提交
46
    <input type='keyboard' bus='ps2'/>
47 48 49
    <graphics type='vnc' port='-1' autoport='yes'>
      <listen type='address'/>
    </graphics>
J
Ján Tomko 已提交
50
    <video>
51
      <model type='cirrus' vram='8192' heads='1' primary='yes'/>
J
Ján Tomko 已提交
52
    </video>
53
    <memballoon model='xen'/>
54 55
  </devices>
</domain>