test-pci-devs.xml 1.6 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 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 35
  <vcpu>1</vcpu>
  <os>
    <type arch='i686' machine='xenfv'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <clock offset='utc'/>
  <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'/>
    </disk>
    <disk type='block' device='cdrom'>
      <driver name='phy'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>
    <interface type='bridge'>
      <mac address='00:16:3e:0a:7b:39'/>
      <source bridge='xenbr0'/>
36
      <script path='vif-bridge'/>
37
      <model type='e1000'/>
38 39 40 41 42
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
43
      <target type='serial' port='0'/>
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
    </console>
    <input type='mouse' bus='ps2'/>
    <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>
  </devices>
</domain>