test-pci-devs.xml 1.9 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>
P
Philipp Hahn 已提交
17
  <clock offset='utc' adjustment='reset'/>
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 35 36 37
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:0a:7b:39'/>
      <source bridge='xenbr0'/>
38
      <script path='vif-bridge'/>
39
      <model type='e1000'/>
40 41 42 43 44
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
45
      <target type='serial' port='0'/>
46 47
    </console>
    <input type='mouse' bus='ps2'/>
L
Li Zhang 已提交
48
    <input type='keyboard' bus='ps2'/>
49 50 51 52 53 54 55 56 57 58 59
    <graphics type='vnc' port='-1' autoport='yes'/>
    <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>
60
    <memballoon model='xen'/>
61 62
  </devices>
</domain>