test-fullvirt-utc.xml 1.7 KB
Newer Older
1 2
<domain type='xen'>
  <name>XenGuest2</name>
3
  <uuid>c7a5fdb2-cdaf-9455-926a-d65c16db1809</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>592896</memory>
  <currentMemory unit='KiB'>403456</currentMemory>
6
  <vcpu placement='static'>1</vcpu>
7
  <os>
8
    <type arch='i686' machine='xenfv'>hvm</type>
9
    <loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
10 11 12 13 14
    <boot dev='cdrom'/>
  </os>
  <features>
    <acpi/>
    <apic/>
15
    <pae/>
16
  </features>
17
  <clock offset='variable' adjustment='0' basis='utc'/>
18 19 20
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
21 22 23 24 25
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/HostVG/XenGuest2'/>
26
      <target dev='hda' bus='ide'/>
27
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
28 29 30 31
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='file'/>
      <source file='/root/boot.iso'/>
32
      <target dev='hdc' bus='ide'/>
33
      <readonly/>
34
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
35
    </disk>
36
    <controller type='ide' index='0'/>
37
    <interface type='bridge'>
38
      <mac address='00:16:3e:66:92:9c'/>
39
      <source bridge='xenbr1'/>
40
      <script path='vif-bridge'/>
41
      <model type='e1000'/>
42
    </interface>
43
    <input type='mouse' bus='ps2'/>
L
Li Zhang 已提交
44
    <input type='keyboard' bus='ps2'/>
45 46 47
    <graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='123poi'>
      <listen type='address' address='127.0.0.1'/>
    </graphics>
J
Ján Tomko 已提交
48 49 50
    <video>
      <model type='cirrus' heads='1' primary='yes'/>
    </video>
51
    <memballoon model='xen'/>
52 53
  </devices>
</domain>