test-pci-devs.xml 2.0 KB
Newer Older
1 2 3
<domain type='xen'>
  <name>test</name>
  <uuid>cc2315e7-d26a-307a-438c-6d188ec4c09c</uuid>
E
Eric Blake 已提交
4 5
  <memory unit='KiB'>391168</memory>
  <currentMemory unit='KiB'>358400</currentMemory>
6
  <vcpu placement='static'>1</vcpu>
7 8
  <os>
    <type arch='i686' machine='xenfv'>hvm</type>
9
    <loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
10 11 12 13 14 15 16
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
17
  <clock offset='variable' adjustment='0' basis='utc'/>
18 19 20 21 22 23 24 25 26
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <disk type='block' device='disk'>
      <driver name='phy'/>
      <source dev='/dev/sda8'/>
      <target dev='hda' bus='ide'/>
27
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
28 29 30 31 32
    </disk>
    <disk type='block' device='cdrom'>
      <driver name='phy'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
33
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
34
    </disk>
35
    <controller type='ide' index='0'/>
36 37 38
    <interface type='bridge'>
      <mac address='00:16:3e:0a:7b:39'/>
      <source bridge='xenbr0'/>
39
      <script path='vif-bridge'/>
40
      <model type='e1000'/>
41 42 43 44 45
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
46
      <target type='serial' port='0'/>
47 48
    </console>
    <input type='mouse' bus='ps2'/>
L
Li Zhang 已提交
49
    <input type='keyboard' bus='ps2'/>
50
    <graphics type='vnc' port='-1' autoport='yes'/>
J
Ján Tomko 已提交
51 52 53
    <video>
      <model type='cirrus' heads='1' primary='yes'/>
    </video>
54 55 56 57 58 59 60 61 62 63
    <hostdev mode='subsystem' type='pci' managed='no'>
      <source>
        <address domain='0x0001' bus='0x0c' slot='0x1b' function='0x2'/>
      </source>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='no'>
      <source>
        <address domain='0x0000' bus='0x01' slot='0x13' function='0x0'/>
      </source>
    </hostdev>
64
    <memballoon model='xen'/>
65 66
  </devices>
</domain>