<node>

  <cpu>
    <nodes>1</nodes>
    <sockets>4</sockets>
    <cores>4</cores>
    <threads>1</threads>
    <active>4</active>
    <mhz>4000</mhz>
    <model>i686</model>
  </cpu>
  <memory>10000000</memory>






  <!-- ####### -->
  <!-- Domains -->
  <!-- ####### -->


<domain type='test'>
  <name>test</name>
  <uuid>4a64cc71-19c4-2fd0-2323-3050941ea3c3</uuid>
  <memory>8388608</memory>
  <currentMemory>2097152</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch='i686'>hvm</type>
    <boot dev='hd'/>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
  </devices>
</domain>

<domain type='test'>
  <name>test-arm-kernel</name>
  <memory>8388608</memory>
  <currentMemory>2097152</currentMemory>
  <vcpu>2</vcpu>
  <cpu mode='host-passthrough'/>
  <os>
    <type arch="i686">hvm</type>
    <kernel>/dev/default-pool/test-arm-kernel</kernel>
    <initrd>/dev/default-pool/test-arm-initrd</initrd>
    <dtb>/dev/default-pool/test-arm-dtb</dtb>
    <cmdline>console=ttyAMA0 rw root=/dev/vda3</cmdline>
  </os>
</domain>

<domain type='test'>
  <name>test-many-devices</name>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
      <libosinfo:os id="http://fedoraproject.org/fedora/unknown"/>
    </libosinfo:libosinfo>
  </metadata>
  <currentMemory>204800</currentMemory>
  <memory>409600</memory>
  <blkiotune>
    <weight>100</weight>
    <device>
      <path>/dev/sdd</path>
      <weight>200</weight>
    </device>
  </blkiotune>
  <memoryBacking>
    <hugepages/>
  </memoryBacking>
  <uuid>12345678-12F4-1234-1234-A23456A89012</uuid>
  <sysinfo type='smbios'>
    <bios>
      <entry name='vendor'>LENOVO</entry>
      <entry name='version'>6FET82WW (3.12 )</entry>
      <entry name='date'>01/12/2010</entry>
      <entry name='release'>3.18</entry>
    </bios>
    <system>
      <entry name='manufacturer'>Fedora</entry>
      <entry name='product'>Virt-Manager</entry>
      <entry name='version'>0.8.2-3.fc14</entry>
      <entry name='serial'>32dfcb37-5af1-552b-357c-be8c3aa38310</entry>
      <entry name='uuid'>12345678-12F4-1234-1234-A23456A89012</entry>
      <entry name='sku'>1234567890</entry>
      <entry name='family'>Red Hat</entry>
    </system>
    <baseBoard>
      <entry name='manufacturer'>Hewlett-Packard</entry>
      <entry name='product'>0B4Ch</entry>
      <entry name='version'>D</entry>
      <entry name='serial'>CZC1065993</entry>
      <entry name='asset'>CZC1065993</entry>
      <entry name='location'>Upside down</entry>
    </baseBoard>
  </sysinfo>
  <os>
    <type arch='i686'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/edk2/ovmf/OVMF_CODE.fd</loader>
    <nvram>/nvram/test-many-devices_VARS.fd</nvram>
    <smbios mode='sysinfo'/>
  </os>
  <idmap>
    <uid start='0' target='1000' count='10'/>
    <gid start='0' target='1000' count='10'/>
  </idmap>
  <description>Test VM for virt-manager details UI testing

Foo bar baz &amp; yeah boii &lt; &gt; yeahfoo
  </description>
  <features>
    <acpi/>
    <apic eoi='off'/>
    <hyperv>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='12287'/>
    </hyperv>
  </features>
  <clock offset="utc">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu cpuset="1,2,5-9,11,13-14">9</vcpu>
  <numatune>
    <memory mode='interleave' placement='auto'/>
  </numatune>
  <cpu match="exact">
    <model>core2duo</model>
    <vendor>Intel</vendor>
    <feature policy="require" name="pbe"/>
    <feature policy="require" name="tm2"/>
    <feature policy="require" name="est"/>
    <feature policy="require" name="ss"/>
    <feature policy="require" name="ht"/>
    <feature policy="require" name="ds"/>
    <feature policy="require" name="lahf_lm"/>
    <feature policy="require" name="tm"/>
    <feature policy="require" name="cx16"/>
    <feature policy="require" name="vmx"/>
    <feature policy="require" name="ds_cpl"/>
    <feature policy="require" name="xtpr"/>
    <feature policy="require" name="acpi"/>
  </cpu>

  <pm>
    <suspend-to-mem enabled='no'/>
  </pm>

  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>


    <!-- disk devices
         Keep these ordered in the same order as libvirt. Which
         is by bus: fdc, ide, scsi, virtio, usb, xen
      -->

    <!-- bus fdc -->
    <disk type='block' device='floppy'>
      <source dev='/dev/fda'>
        <seclabel model='selinux' relabel='no'/>
        <seclabel model='dac' relabel='no'/>
      </source>
      <target dev='fda' bus='fdc'/>
      <boot order='5'/>
    </disk>
    <disk type='dir' device='floppy'>
      <source dir='/tmp'/>
      <target dev='fdb' bus='fdc'/>
    </disk>

    <!-- bus ide -->
    <disk type='file' device='disk'>
      <source file='/tmp/foobar'/>
      <target dev='hda' bus='ide'/>
      <iotune>
        <read_bytes_sec>5242880</read_bytes_sec>
        <total_iops_sec>50</total_iops_sec>
      </iotune>
    </disk>
    <disk type='file' device='cdrom'>
      <source startupPolicy='requisite'/>
      <target dev='hdb' bus='ide'/>
    </disk>
    <disk type='block' device='disk'>
      <driver cache='none' type="raw"/>
      <source dev='/dev/null'/>
      <target dev='hdc' bus='ide'/>
    </disk>

    <!-- bus scsi -->
    <disk type='block' device='cdrom'>
      <target dev='sdb' bus='scsi'/>
      <address type='drive' controller='5'/>
    </disk>

    <disk type='file' device='disk'>
      <driver name="qemu" type="qcow2" cache="none"/>
      <source file='/tmp/foobar2/this_is_a_really_long_path_to_see_how_the_ui_handles_it/hopefully_it_doesnt_mess_things_up_too_bad/i_guess_we_will_see/in_fact_can_we_see_this_filename.img'/>
      <target dev='sda' bus='scsi'/>
      <boot order='1'/>
      <address type='drive' controller='9' bus='0' target='0' unit='0'/>
      <shareable/>
    </disk>

    <!-- bus virtio -->
    <disk type="volume" device="disk">
      <driver name="qemu"/>
      <source pool="rbd-ceph" volume="vol1"/>
      <target dev="vdb" bus="virtio"/>
      <readonly/>
    </disk>
    <disk type="volume" device="disk">
      <driver name="qemu"/>
      <source pool="idontexist" volume="vol1"/>
      <target dev="vdc" bus="virtio"/>
      <readonly/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol='http' name='/my-file.img'>
        <host name='example.org'/>
      </source>
      <target dev='vdaa' bus='virtio'/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol='nbd'>
        <host transport='unix' socket='/var/run/nbdsock'/>
      </source>
      <target dev='vdab' bus='virtio'/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol='rbd' name='pool/image'>
        <host name='mon1.example.org' port='6321'/>
        <host name='mon2.example.org' port='6322'/>
        <host name='mon3.example.org' port='6322'/>
      </source>
      <target dev='vdac' bus='virtio'/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol='sheepdog' name='image,with,commas'>
        <host name='example.org' port='6000'/>
      </source>
      <target dev='vdad' bus='virtio'/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol='gluster' name='test-volume/test-gluster2.raw'>
        <host name='192.168.1.100'/>
      </source>
      <target dev='vdae' bus='virtio'/>
    </disk>

    <!-- bus usb -->
    <disk type='volume' device='disk'>
      <source pool='default-pool' volume='overlay.img'/>
      <target dev='sdd' bus='usb'/>
    </disk>

    <!-- bus xen -->
    <disk type='file' device='disk'>
      <driver name='tap' type='qcow' cache="writethrough"/>
      <source file='/tmp/foobar4'/>
      <target dev='xvdc' bus='xen'/>
    </disk>


    <!-- controllers -->
    <controller type='scsi' index='9' model='virtio-scsi'/>
    <controller type='scsi' model='virtio-scsi'/>
    <controller type='usb'/>


    <!-- interfaces -->
    <interface type='network'>
      <source network='default'/>
      <mac address='22:22:33:54:32:10'/>
      <model type='e1000'/>
    </interface>
    <interface type='network'>
      <source network='idontexistfool'/>
      <mac address='22:11:11:11:11:11'/>
      <model type='model-dont-exist'/>
    </interface>
    <interface type='network'>
      <source network='dupmac'/>
      <mac address='22:22:33:54:32:11'/>
    </interface>
    <interface type='user'/>
    <interface type='bridge'>
      <source bridge='brempty'/>
      <mac address='22:22:33:44:AA:BB'/>
      <model type='virtio'/>
      <boot order='123'/>
    </interface>
    <interface type='bridge'>
      <source bridge='br0'/>
      <mac address='22:00:00:44:AA:BF'/>
      <model type='e1000'/>
    </interface>
    <interface type='ethernet'>
      <mac address='00:11:7f:33:44:55'/>
      <script path='/etc/qemu-ifup'/>
      <target dev='nic02'/>
    </interface>
    <interface type="direct">
      <mac address="F0:11:22:33:44:5F"/>
      <boot order='3'/>
      <source dev="eth0.1" mode="vepa"/>
      <virtualport type="802.1Qbg">
        <parameters managerid="12" typeid="1193046" typeidversion="1" instanceid="09b11c53-8b5c-4eeb-8f00-d84eaa0aaa3b"/>
      </virtualport>
      <address type="pci" domain="0x0000" bus="0x00" slot="0x07" function="0x0"/>
    </interface>
    <interface type="vhostuser">
      <source type="unix" path="/tmp/vhost1.sock" mode="server"/>
      <mac address="00:11:22:33:44:66"/>
      <model type="virtio"/>
    </interface>


    <!-- input devices -->
    <input type='mouse' bus='ps2'/>
    <input type='tablet' bus='usb'/>
    <input type='keyboard' bus='usb'/>


    <!-- Graphics devices -->
    <graphics type='vnc' display=':3.4' xauth='/testdir/.Xauthority' fullscreen='yes'/>
    <graphics type='vnc'/>
    <graphics type='vnc' listen="1.2.3.4" keymap="fi"/>
    <graphics type='vnc' port="5903" passwd="foobar"/>
    <graphics type='rdp'/>
    <graphics type='spice' autoport='yes' passwd=''/>
    <graphics type="spice" passwd="newpass" port="6000" tlsPort="6001" listen="1.2.3.4">
      <channel name="inputs" mode="secure"/>
      <channel name="main" mode="any"/>
      <channel name="record" mode="insecure"/>
    </graphics>


    <!-- sound devices -->
    <sound model='sb16'/>
    <sound model='es1370'/>
    <sound model='ich6'/>


    <!-- Video devices -->
    <video>
      <model type='vmvga'/>
    </video>
    <video>
      <model type='cirrus' vram='10240' heads='3'/>
    </video>


    <!-- hostdev devices -->
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <vendor id='0x04b3'/>
        <product id='0x4485'/>
      </source>
    </hostdev>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <address bus='0x03' device='0x02'/>
      </source>
      <boot order='9'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address bus='0x00' slot='0x19' function="0x0"/>
      </source>
      <rom bar='off'/>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain="0x03" bus='0x00' slot='0x19' function="0x0"/>
      </source>
      <boot order='6'/>
    </hostdev>
    <hostdev mode="subsystem" type="scsi" managed="no">
      <source>
        <adapter name="scsi_host0"/>
        <address bus="0" target="0" unit="0"/>
      </source>
    </hostdev>


    <!-- serial devices -->
    <serial type='null'/>
    <serial type='tcp'>
      <source mode='bind' host='my.source.host' service='1234'/>
      <protocol type='telnet'/>
    </serial>
    <serial type="nmdm">
      <source master="/dev/nmdm0A" slave="/dev/nmdm0B"/>
    </serial>


    <!-- parallel devices -->
    <parallel type='file'>
      <source path='/tmp/foo.log'/>
    </parallel>
    <parallel type='unix'>
      <source mode='bind' path='/tmp/foobar'/>
    </parallel>
    <parallel type='udp'>
      <source mode='bind' host='my.bind.host' service='1111'/>
      <source mode='connect' host='my.source.host' service='2222'/>
    </parallel>


    <!-- console devices -->
    <console type='pty'>
      <target type='virtio'/>
    </console>
    <console type='pty'>
      <target type='uml'/>
    </console>


    <!-- channel devices -->
    <channel type='pipe'>
      <source path='/tmp/guestfwd'/>
      <target type='guestfwd' address='10.0.2.1' port='4600'/>
    </channel>
    <channel type='spicevmc'>
      <target type='virtio' name='com.redhat.spice.0'/>
      <address type='virtio-serial' controller='1' bus='0' port='3'/>
    </channel>
    <channel type='pty'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
    </channel>
    <channel type='unix'>
      <source mode='bind'/>
      <target type='virtio' name='org.libguestfs.channel.0'/>
    </channel>


    <!-- watchdog devices -->
    <watchdog model='ib700' action='poweroff'/>


    <!-- smartcard devices -->
    <smartcard mode='host'>
      <address type='ccid' controller='0' slot='0'/>
    </smartcard>
    <smartcard mode='host-certificates'>
      <certificate>cert1</certificate>
      <certificate>cert2</certificate>
      <certificate>cert3</certificate>
    </smartcard>
    <smartcard mode='passthrough' type='spicevmc'/>
    <smartcard mode='passthrough' type='tcp'>
      <source mode='bind' host='127.0.0.1' service='2001'/>
      <protocol type='raw'/>
    </smartcard>


    <!-- redir devices -->
    <redirdev bus='usb' type='tcp'>
      <source mode='connect' host='localhost' service='4000'/>
      <protocol type='raw'/>
    </redirdev>
    <redirdev bus='usb' type='spicevmc'>
      <address type='usb' bus='0' port='4'/>
      <boot order='7'/>
    </redirdev>
    <redirfilter>
      <usbdev class='0x08' vendor='0x15E1' product='0x2007' version='1.10' allow='yes'/>
      <usbdev class='-1' vendor='-1' product='-1' version='-1' allow='no'/>
    </redirfilter>


    <!-- filesystems -->
    <filesystem>
      <driver type='handle'/>
      <source dir='/foo/bar1'/>
      <target dir='/target/1'/>
    </filesystem>
    <filesystem type='template'>
      <source name='template_fedora'/>
      <target dir='/target/2'/>
    </filesystem>
    <filesystem type='mount' accessmode='squash'>
      <driver type='path' wrpolicy='immediate'/>
      <source dir='/foo/bar3'/>
      <target dir='target3'/>
    </filesystem>
    <filesystem type='mount' accessmode='mapped'>
      <driver type='path'/>
      <source dir='/foo/bar4'/>
      <target dir='/target4'/>
    </filesystem>
    <filesystem type='ram'>
      <source usage='8192' units='KiB'/>
      <target dir='/run'/>
    </filesystem>
    <filesystem type='file' accessmode='passthrough'>
      <driver type='nbd' format='vmdk'/>
      <source file='/root/container.vmdk'/>
      <target dir='/home'/>
    </filesystem>

    <!-- tpm devices -->
    <tpm model='tpm-tis'>
      <backend type='passthrough'>
        <device path='/dev/tzz'/>
      </backend>
    </tpm>

    <!-- rng devices -->
    <rng model='virtio'>
      <rate period='2000' bytes='1234'/>
      <backend model='egd' type='tcp'>
        <source mode='connect' host='1.2.3.4' service='1234'/>
      </backend>
    </rng>

    <!-- panic notifier devices -->
    <panic>
      <address type='isa' iobase='0x505'/>
    </panic>
    <panic model='s390'/>
    <panic model='pseries'/>
    <panic model='hyperv'/>

    <!-- memballoon device -->
    <memballoon model='virtio'/>
  </devices>

  <seclabel model='selinux' type='dynamic' relabel='yes'/>
  <seclabel model='dac' type='static' relabel='yes'>
    <label type='qemu'>107:107</label>
  </seclabel>
</domain>


<domain type='test'>
  <name>test-alternate-devs</name>
  <uuid>4a64cc71-19c4-2fd0-2323-00aa941ea3c3</uuid>
  <description>Test alternate devices that can't be crammed in
test-many-devices, like an alternate RNG, EOL OS ID, title field
  </description>
  <title>test alternate devs (title)</title>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
      <libosinfo:os id="http://microsoft.com/msdos/6.22"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory>8388608</memory>
  <currentMemory>2097152</currentMemory>
  <vcpu>2</vcpu>
  <cpu mode='host-model'/>
  <os>
    <type arch='i686'>hvm</type>
    <boot dev='hd'/>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <rng model='virtio'>
      <rate bytes='123' period='1234'/>
      <backend model='random'>/dev/hwrng</backend>
    </rng>
  </devices>
</domain>


<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <test:runstate>5</test:runstate>
  <name>test-clone-simple</name>
  <currentMemory>204800</currentMemory>
  <memory>409600</memory>
  <uuid>12345678-1234-FFFF-1234-12345678FFFF</uuid>
  <os>
    <type arch='i686'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/><apic/>
  </features>
  <clock offset="utc"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu>5</vcpu>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <disk type='file' device='disk'>
      <source file='/dev/default-pool/test-clone-simple.img'/>
      <target dev='hda' bus='ide'/>
      <driver type="qcow2"/>
    </disk>
    <interface type='user'>
      <mac address='22:11:11:11:11:11'/>
    </interface>
    <parallel type='file'>
      <source path='/tmp/foo.log'/>
    </parallel>
  </devices>
</domain>


<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <test:runstate>5</test:runstate>
  <name>test-clone</name>
  <currentMemory>204800</currentMemory>
  <memory>409600</memory>
  <uuid>12345678-1234-1234-1234-12345678FFFF</uuid>
  <os>
    <type arch='i686'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/><apic/>
  </features>
  <clock offset="utc"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu>5</vcpu>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <disk type='block' device='floppy'>
      <source dev='/dev/disk-pool/diskvol1'/>
      <target dev='fda' bus='fdc'/>
      <driver type="vmdk"/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/disk-pool/diskvol2'/>
      <target dev='sda' bus='scsi'/>
      <readonly/>
    </disk>
    <disk type='block' device='cdrom'>
      <target dev='sdb' bus='scsi'/>
    </disk>
    <disk type='block' device='disk'>
      <source dev='/dev/default-pool/collidevol1.img'/>
      <target dev='sdc' bus='scsi'/>
      <driver type="qcow2"/>
      <readonly/>
      <shareable/>
    </disk>
    <disk type='file' device='disk'>
      <source file='/dev/default-pool/default-vol'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='/dev/default-pool/testvol2.img'/>
      <target dev='hdb' bus='ide'/>
    </disk>
    <interface type='network'>
      <source network='default'/>
      <mac address='22:22:33:12:34:AB'/>
      <model type='e1000'/>
    </interface>
    <interface type='user'>
      <mac address='22:11:11:11:11:11'/>
    </interface>
    <parallel type='file'>
      <source path='/tmp/foo.log'/>
    </parallel>
    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/test-for-clone/org.qemu.guest_agent.0'/>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
    </channel>
  </devices>
</domain>


<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <test:runstate>5</test:runstate>
  <name>test-clone-full</name>
  <currentMemory>204800</currentMemory>
  <memory>409600</memory>
  <uuid>abcd5678-aaaa-1234-1234-12345678FFFF</uuid>
  <os>
    <type arch='i686'>hvm</type>
    <loader>/usr/lib/xen/boot/hvmloader</loader>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/><apic/>
  </features>
  <clock offset="utc"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <vcpu>5</vcpu>
  <devices>
    <emulator>/usr/lib/xen/bin/qemu-dm</emulator>
    <disk type='block' device='disk'>
      <source dev='/full-pool/testvol1.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <interface type='user'>
      <mac address='22:11:11:11:11:11'/>
    </interface>
    <console type='pty'/>
  </devices>
</domain>


<domain type='test'>
  <name>test-xenpv-kernel</name>
  <uuid>596a5d2171f48fb2e068e2386a5c413e</uuid>
  <os>
    <type>xen</type>
    <kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
    <initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
    <cmdline>method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os</cmdline>
  </os>
  <memory>430080</memory>
  <vcpu>2</vcpu>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>destroy</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <source file='/root/some.img'/>
      <target dev='xvda'/>
    </disk>
    <console tty='/dev/pts/4'/>
  </devices>
</domain>


<domain type='test'>
  <name>test-duplicate-usb</name>
  <uuid>4a64cc71-19c4-2fd0-2323-3050abaea3c3</uuid>
  <memory>8388608</memory>
  <currentMemory>2097152</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch='i686'>hvm</type>
    <boot dev='hd'/>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <hostdev mode='subsystem' type='usb' managed='yes'>
      <source>
        <product id='0x7e04'/>
        <vendor id='0x03f0'/>
      </source>
    </hostdev>
  </devices>
</domain>

<domain type='test'>
  <name>test-spapr-xml</name>
  <uuid>2754dd7b-ac8a-4850-aec0-1f3fcd43235b</uuid>
  <memory unit='KiB'>524288</memory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='i686'>hvm</type>
    <boot dev='hd'/>
  </os>
  <devices>
    <console type='pty'>
      <address type="spapr-vio"/>
    </console>
    <serial type="pty">
      <address type="spapr-vio"/>
    </serial>
    <serial type="pty">
      <address type="spapr-vio"/>
    </serial>

    <disk type="file" device="disk">
      <source file="/tmp/scsidisk.img"/>
      <target dev="sda" bus="scsi"/>
      <address type="drive" controller="1"/>
    </disk>

    <interface type='user'>
      <mac address='22:11:11:11:11:FA'/>
      <model>spapr-vlan</model>
      <address type="spapr-vio"/>
    </interface>

    <controller type="scsi" index="1">
      <address type="spapr-vio"/>
    </controller>
    <controller type="scsi" index="0">
      <address type="spapr-vio"/>
    </controller>
  </devices>
</domain>


<domain type='test'>
  <name>test-hyperv-uefi</name>
  <uuid>4a64cc71-19c4-2fd0-2323-f050941ea3c3</uuid>
  <metadata>
    <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
      <libosinfo:os id="http://microsoft.com/win/7"/>
    </libosinfo:libosinfo>
  </metadata>
  <memory>8388608</memory>
  <currentMemory>2097152</currentMemory>
  <vcpu>2</vcpu>
  <os>
    <type arch='i686'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv>
      <relaxed state="on"/>
      <vapic state="on"/>
      <spinlocks state="on" retries="8191"/>
    </hyperv>
    <vmport state="off"/>
  </features>
  <clock offset="localtime">
    <timer name="rtc" tickpolicy="catchup"/>
    <timer name="pit" tickpolicy="delay"/>
    <timer name="hpet" present="no"/>
    <timer name="hypervclock" present="yes"/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
  </devices>
</domain>


<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <name>test-state-shutoff</name>
  <memory>1048576</memory>
  <bootloader>/tmp/bootfoo</bootloader>
  <test:runstate>5</test:runstate>
</domain>
<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <name>test-state-paused</name>
  <memory>1048576</memory>
  <bootloader>/tmp/bootfoo</bootloader>
  <test:runstate>3</test:runstate>
</domain>
<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <name>test-state-crashed</name>
  <memory>1048576</memory>
  <bootloader>/tmp/bootfoo</bootloader>
  <test:runstate>6</test:runstate>
</domain>
<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <name>test-state-pmsuspended</name>
  <memory>1048576</memory>
  <bootloader>/tmp/bootfoo</bootloader>
  <test:runstate>7</test:runstate>
</domain>
<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <name>test-state-transient</name>
  <memory>1048576</memory>
  <bootloader>/tmp/bootfoo</bootloader>
  <test:transient/>
</domain>
<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <name>test-state-managedsave</name>
  <memory>1048576</memory>
  <bootloader>/tmp/bootfoo</bootloader>
  <test:runstate>5</test:runstate>
  <test:hasmanagedsave/>
</domain>





<!-- ############ -->
<!-- Snapshot VMs -->
<!-- ############ -->


<domain type='test' xmlns:test='http://libvirt.org/schemas/domain/test/1.0'>
  <name>test-snapshots</name>
  <memory>409600</memory>
  <uuid>12345678-1234-FDDF-1234-12345678FFFF</uuid>
  <bootloader>/tmp/bootfoo</bootloader>
  <devices>
    <disk type='file' device='disk'>
      <source file='/dev/default-pool/test-clone-simple.img'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <graphics type='vnc'/>
  </devices>

<test:domainsnapshot>
  <name>internal-root</name>
  <state>running</state>
  <creationTime>1375905080</creationTime>
  <memory snapshot='internal'/>
  <disks>
    <disk name='hda' snapshot='internal'/>
  </disks>
  <description>FOO
desc line #2
ba</description>
  <domain type='test'>
    <name>test-snapshots</name>
    <uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
    <memory unit='KiB'>409600</memory>
    <currentMemory unit='KiB'>409600</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <bootloader>/tmp/bootfoo</bootloader>
    <os>
      <type arch='i686'>xen</type>
    </os>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <disk type='file' device='disk'>
        <source file='/dev/default-pool/test-clone-simple.img'/>
        <target dev='hda' bus='ide'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
      </disk>
      <controller type='ide' index='0'/>
      <graphics type='vnc'/>
    </devices>
  </domain>
  <active>0</active>
</test:domainsnapshot>

<test:domainsnapshot>
  <name>internal-root-child1&amp;</name>
  <state>running</state>
  <parent>
    <name>internal-root</name>
  </parent>
  <creationTime>1375885107</creationTime>
  <memory snapshot='internal'/>
  <disks>
    <disk name='hda' snapshot='internal'/>
  </disks>
  <domain type='test'>
    <name>test-snapshots</name>
    <uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
    <memory unit='KiB'>409600</memory>
    <currentMemory unit='KiB'>409600</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <bootloader>/tmp/bootfoo</bootloader>
    <os>
      <type arch='i686'>xen</type>
    </os>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <disk type='file' device='disk'>
        <source file='/dev/default-pool/test-clone-simple.img'/>
        <target dev='hda' bus='ide'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
      </disk>
      <controller type='ide' index='0'/>
      <graphics type='vnc'/>
    </devices>
  </domain>
  <active>1</active>
</test:domainsnapshot>

<test:domainsnapshot>
  <name>offline-root</name>
  <state>shutoff</state>
  <creationTime>1375905902</creationTime>
  <memory snapshot='no'/>
  <disks>
    <disk name='hda' snapshot='internal'/>
  </disks>
  <domain type='test'>
    <name>test-snapshots</name>
    <uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
    <memory unit='KiB'>409600</memory>
    <currentMemory unit='KiB'>409600</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <bootloader>/tmp/bootfoo</bootloader>
    <os>
      <type arch='i686'>xen</type>
    </os>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <disk type='file' device='disk'>
        <source file='/dev/default-pool/test-clone-simple.img'/>
        <target dev='hda' bus='ide'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
      </disk>
      <controller type='ide' index='0'/>
      <graphics type='vnc'/>
    </devices>
  </domain>
  <active>0</active>
</test:domainsnapshot>

<test:domainsnapshot>
  <name>offline-root-child1</name>
  <state>shutoff</state>
  <parent>
    <name>offline-root</name>
  </parent>
  <creationTime>1375905916</creationTime>
  <memory snapshot='no'/>
  <disks>
    <disk name='hda' snapshot='internal'/>
  </disks>
  <domain type='test'>
    <name>test-snapshots</name>
    <uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
    <memory unit='KiB'>409600</memory>
    <currentMemory unit='KiB'>409600</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <bootloader>/tmp/bootfoo</bootloader>
    <os>
      <type arch='i686'>xen</type>
    </os>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <disk type='file' device='disk'>
        <source file='/dev/default-pool/test-clone-simple.img'/>
        <target dev='hda' bus='ide'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
      </disk>
      <controller type='ide' index='0'/>
      <graphics type='vnc'/>
    </devices>
  </domain>
  <active>0</active>
</test:domainsnapshot>

<test:domainsnapshot>
  <name>offline-root-child2</name>
  <state>shutoff</state>
  <parent>
    <name>offline-root</name>
  </parent>
  <creationTime>137590600</creationTime>
  <memory snapshot='no'/>
  <disks>
    <disk name='hda' snapshot='internal'/>
  </disks>
  <domain type='test'>
    <name>test-snapshots</name>
    <uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
    <memory unit='KiB'>409600</memory>
    <currentMemory unit='KiB'>409600</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <bootloader>/tmp/bootfoo</bootloader>
    <os>
      <type arch='i686'>xen</type>
    </os>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <disk type='file' device='disk'>
        <source file='/dev/default-pool/test-clone-simple.img'/>
        <target dev='hda' bus='ide'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
      </disk>
      <controller type='ide' index='0'/>
      <graphics type='vnc'/>
    </devices>
  </domain>
  <active>0</active>
</test:domainsnapshot>

<test:domainsnapshot>
  <name>snap-paused</name>
  <state>paused</state>
  <creationTime>1375903080</creationTime>
  <memory snapshot='internal'/>
  <disks>
    <disk name='hda' snapshot='internal'/>
  </disks>
  <domain type='test'>
    <name>test-snapshots</name>
    <uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
    <memory unit='KiB'>409600</memory>
    <currentMemory unit='KiB'>409600</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <bootloader>/tmp/bootfoo</bootloader>
    <os>
      <type arch='i686'>xen</type>
    </os>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <disk type='file' device='disk'>
        <source file='/dev/default-pool/test-clone-simple.img'/>
        <target dev='hda' bus='ide'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
      </disk>
      <controller type='ide' index='0'/>
      <graphics type='vnc'/>
    </devices>
  </domain>
  <active>0</active>
</test:domainsnapshot>

<test:domainsnapshot>
  <name>snap-pmsuspended</name>
  <state>pmsuspended</state>
  <creationTime>1375903080</creationTime>
  <memory snapshot='internal'/>
  <disks>
    <disk name='hda' snapshot='internal'/>
  </disks>
  <domain type='test'>
    <name>test-snapshots</name>
    <uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
    <memory unit='KiB'>409600</memory>
    <currentMemory unit='KiB'>409600</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <bootloader>/tmp/bootfoo</bootloader>
    <os>
      <type arch='i686'>xen</type>
    </os>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <disk type='file' device='disk'>
        <source file='/dev/default-pool/test-clone-simple.img'/>
        <target dev='hda' bus='ide'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
      </disk>
      <controller type='ide' index='0'/>
      <graphics type='vnc'/>
    </devices>
  </domain>
  <active>0</active>
</test:domainsnapshot>

<test:domainsnapshot>
  <name>aaa-external-mem</name>
  <state>running</state>
  <creationTime>1365903080</creationTime>
  <memory snapshot='external' file='/path/to/memory/state'/>
  <disks>
    <disk name='hda' snapshot='external'>
      <source file='/path/to/new'/>
    </disk>
  </disks>
  <domain type='test'>
    <name>test-snapshots</name>
    <uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
    <memory unit='KiB'>409600</memory>
    <currentMemory unit='KiB'>409600</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <bootloader>/tmp/bootfoo</bootloader>
    <os>
      <type arch='i686'>xen</type>
    </os>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <disk type='file' device='disk'>
        <source file='/dev/default-pool/test-clone-simple.img'/>
        <target dev='hda' bus='ide'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
      </disk>
      <controller type='ide' index='0'/>
      <graphics type='vnc'/>
    </devices>
  </domain>
  <active>0</active>
</test:domainsnapshot>

<test:domainsnapshot>
  <name>zzz-external-diskonly</name>
  <state>shutoff</state>
  <creationTime>1365903080</creationTime>
  <disks>
    <disk name='hda' snapshot='external'>
      <source file='/path/to/diskonly'/>
    </disk>
  </disks>
  <domain type='test'>
    <name>test-snapshots</name>
    <uuid>12345678-1234-fddf-1234-12345678ffff</uuid>
    <memory unit='KiB'>409600</memory>
    <currentMemory unit='KiB'>409600</currentMemory>
    <vcpu placement='static'>1</vcpu>
    <bootloader>/tmp/bootfoo</bootloader>
    <os>
      <type arch='i686'>xen</type>
    </os>
    <clock offset='utc'/>
    <on_poweroff>destroy</on_poweroff>
    <on_reboot>restart</on_reboot>
    <on_crash>destroy</on_crash>
    <devices>
      <disk type='file' device='disk'>
        <source file='/dev/default-pool/test-clone-simple.img'/>
        <target dev='hda' bus='ide'/>
        <address type='drive' controller='0' bus='0' target='0' unit='0'/>
      </disk>
      <controller type='ide' index='0'/>
      <graphics type='vnc'/>
    </devices>
  </domain>
  <active>0</active>
</test:domainsnapshot>

</domain>





<!-- ######## -->
<!-- Networks -->
<!-- ######## -->



<network>
  <name>default</name>
  <uuid>715666b7-dbd4-6c78-fa55-94863da09f2d</uuid>
  <forward mode='nat'/>
  <bridge name='virbr0' stp='on' forwardDelay='0' />
  <ip address='192.168.122.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.122.2' end='192.168.122.254' />
    </dhcp>
  </ip>
</network>


<network>
  <name>isolated_net</name>
  <ip address='192.168.100.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.100.128' end='192.168.100.254'/>
    </dhcp>
  </ip>
  <bandwidth>
    <inbound average="1000" peak="5000" burst="5120"/>
    <outbound average="1000" peak="5000" burst="5120"/>
  </bandwidth>
</network>


<network>
  <name>nat_to_eth0</name>
  <forward dev='eth0'/>
  <ip address='192.168.100.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.100.128' end='192.168.100.254'/>
    </dhcp>
  </ip>
</network>


<network>
  <name>route</name>
  <uuid>715666b7-aaaa-6c78-fa55-94863da09f2d</uuid>
  <forward mode='route'/>
  <ip address='192.168.123.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.123.2' end='192.168.123.254' />
    </dhcp>
  </ip>
</network>


<network>
  <name>open</name>
  <uuid>f59fb0e3-3903-4867-a97f-3faa2edc0a50</uuid>
  <forward mode="open"/>
  <domain name="open"/>
  <ip address="192.168.100.1" netmask="255.255.255.0">
    <dhcp>
      <range start="192.168.100.128" end="192.168.100.254"/>
    </dhcp>
  </ip>
</network>


<network>
  <name>netboot</name>
  <uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
  <bridge name="virbr1" stp='off' delay='1'/>
  <domain name="example.com"/>
  <forward/>
  <ip address="192.168.122.1" netmask="255.255.255.0">
    <tftp root="/var/lib/tftproot" />
    <dhcp>
      <range start="192.168.122.2" end="192.168.122.254" />
      <bootp file="pxeboot.img" />
    </dhcp>
  </ip>
</network>


<network>
  <name>plainbridge-portgroups</name>
  <uuid>b1b9d7c6-f620-048f-71ee-ca3ba1ac3e98</uuid>
  <forward mode='bridge'/>
  <bridge name='br2' />
  <portgroup name='engineering' default='yes'>
    <virtualport type='802.1Qbh'>
      <parameters profileid='test'/>
    </virtualport>
    <bandwidth>
      <inbound average='1000' peak='5000' burst='5120'/>
      <outbound average='1000' peak='5000' burst='5120'/>
    </bandwidth>
  </portgroup>
  <portgroup name='sales'>
    <virtualport type='802.1Qbh'>
      <parameters profileid='salestest'/>
    </virtualport>
    <bandwidth>
      <inbound average='500' peak='2000' burst='2560'/>
      <outbound average='128' peak='256' burst='256'/>
    </bandwidth>
  </portgroup>
</network>


<network>
  <name>ipv4_prefix</name>
  <uuid>81ff0d90-c91e-6742-64da-4a736edb9122</uuid>
  <forward dev='eth1' mode='nat'>
    <interface dev='eth1'/>
  </forward>
  <bridge name='ipv4_prefix' stp='on' delay='0' />
  <ip family='ipv4' address='192.168.50.1' prefix='24'>
  </ip>
</network>


<network>
  <name>ipv4_nomask</name>
  <uuid>81ff0d90-aaaa-6742-64da-4a736edb9a9b</uuid>
  <bridge name='ipv4_nomask' stp='on' delay='0' />
  <ip family='ipv4' address='10.24.10.1'>
  </ip>
</network>


<network ipv6='yes'>
  <name>ipv6_empty</name>
  <uuid>591d28b3-25fd-21f5-ac71-e1877d787945</uuid>
  <bridge name='virbr1' stp='on' delay='0' />
</network>


<network>
  <name>ipv6_2ranges</name>
  <uuid>e08c0cc3-b892-b53b-c41d-c4f526291be9</uuid>
  <forward mode='nat'/>
  <bridge name='virbr2' stp='on' delay='0' />
  <domain name='net6'/>
  <ip address='192.168.6.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.6.128' end='192.168.6.254' />
    </dhcp>
  </ip>
  <ip family='ipv6' address='fd00:beef:10:6::1' prefix='64'>
    <dhcp>
      <range start='fd00:beef:10:6::1:1' end='fd00:beef:10:6::1:f1' />
    </dhcp>
  </ip>
</network>


<network>
  <name>ipv6_multirange</name>
  <uuid>41b4afe4-87bb-8087-6724-5e208a2d483a</uuid>
  <forward mode='nat'/>
  <bridge name='virbr3' stp='on' delay='0' />
  <domain name='net7'/>
  <ip address='192.168.7.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.7.128' end='192.168.7.254' />
      <host mac='52:54:00:60:7d:5d' name='paul' ip='192.168.7.2' />
      <host mac='52:54:00:69:eb:91' name='badbob' ip='192.168.7.3' />
    </dhcp>
  </ip>
  <ip family='ipv6' address='fd00:beef:10:7::1' prefix='64'>
    <dhcp>
      <range start='fd00:beef:10:7::1:1' end='fd00:beef:10:7::1:f1' />
      <host id='00:03:00:01:52:54:00:60:7d:5d' name='paul' ip='fd00:beef:10:7::7:2' />
      <host id='00:03:00:01:52:54:00:69:eb:91' name='badbob' ip='fd00:beef:10:7::7:4' />
    </dhcp>
  </ip>
  <ip family='ipv6' address='fd00:beef:12::' prefix='48' via='fd00:beef:10:7::7:2'>
  </ip>
  <ip family='ipv4' address='192.168.19.0' netmask='255.255.255.0'>
  </ip>
</network>


<network>
  <name>ipv6_multirange2</name>
  <uuid>f9c6675f-98f8-ce75-b39a-02c1d23081e0</uuid>
  <forward mode='nat'/>
  <bridge name='virbr4' stp='on' delay='0' />
  <domain name='net8'/>
  <ip family='ipv4' address='192.168.8.1' netmask='255.255.255.0'>
    <dhcp>
      <range start='192.168.8.64' end='192.168.8.79' />
    </dhcp>
  </ip>
  <ip family='ipv6' address='fd00:beef:10:8::1' prefix='64'>
    <dhcp>
      <range start='fd00:beef:10:8::1:1' end='fd00:beef:10:8::1:f1' />
      <host id='0:3:0:1:52:54:00:d0:2e:22' name='btrfs2' ip='fd00:beef:10:8::2:5' />
    </dhcp>
  </ip>
  <ip family='ipv6' address='fd00:beef:13::' prefix='48' via='fd00:beef:10:8::2:5'>
  </ip>
  <ip family='ipv4' address='192.168.81.0' netmask='255.255.255.0' via='192.168.8.2'>
  </ip>
</network>

<network ipv6='yes'>
  <name>ipv6route</name>
  <domain name='bar' />
  <forward mode='route' dev='eth1'/>
  <ip family='ipv6' address='fd00:db8:ac10:fd01::1' prefix='64'>
    <dhcp>
      <range start='fd00:db8:ac10:fd01::100' end='fd00:db8:ac10:fd01::1ff'/>
    </dhcp>
  </ip>
  <route family='ipv6' address='fd00:db8:ac10:fd00::' prefix='64' gateway='fd00:db8:ac10:fd01::1' />
</network>

<network>
  <name>ovsbr1</name>
  <forward mode='bridge'/>
  <bridge name='ovsbr1'/>
  <virtualport type='openvswitch'/>
</network>

<network>
  <name>passthrough</name>
    <forward mode='hostdev' managed='yes'>
      <pf dev='eth3'/>
    </forward>
</network>





<!-- ####### -->
<!-- Storage -->
<!-- ####### -->



<pool type='dir'>
  <name>default-pool</name>
  <uuid>35bb2ad9-388a-cdfe-461a-b8907f6e53fe</uuid>
  <capacity>107374182400</capacity>
  <allocation>0</allocation>
  <available>107374182400</available>
  <source>
  </source>
  <target>
    <path>/dev/default-pool</path>
    <permissions>
      <mode>0700</mode>
      <owner>10736</owner>
      <group>10736</group>
    </permissions>
  </target>

  <volume type='file'>
    <name>default-vol</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='qcow2'/>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
  <volume type='file'>
    <name>dir-vol</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='dir'/>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
  <volume type='file'>
    <name>iso-vol</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='iso'/>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
  <volume type='file'>
    <name>bochs-vol</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='bochs'/>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
  <volume type='file'>
    <name>testvol1.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='qcow2'/>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
  <volume type='file'>
    <name>testvol2.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='qcow2'/>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
  <volume type='file'>
    <name>UPPER</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
  <volume type='file'>
    <name>test-clone-simple.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
  <volume type='file'>
    <name>collidevol1.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target/>
  </volume>
  <volume type='file'>
    <name>sharevol.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target/>
  </volume>
  <volume type='file'>
    <name>backingl3.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='raw'/>
    </target>
  </volume>
  <volume type='file'>
    <name>backingl2.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='qcow2'/>
    </target>
    <backingStore>
      <path>/dev/default-pool/backingl3.img</path>
    </backingStore>
  </volume>
  <volume type='file'>
    <name>backingl1.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='qcow2'/>
    </target>
    <backingStore>
      <path>/dev/default-pool/backingl2.img</path>
    </backingStore>
  </volume>
  <volume type='file'>
    <name>overlay.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='qcow2'/>
    </target>
    <backingStore>
      <path>/dev/default-pool/backingl1.img</path>
    </backingStore>
  </volume>


  <!-- fake arm media -->
  <volume type='file'>
    <name>test-arm-kernel</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='raw'/>
    </target>
  </volume>
  <volume type='file'>
    <name>test-arm-initrd</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='raw'/>
    </target>
  </volume>
  <volume type='file'>
    <name>test-arm-dtb</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='raw'/>
    </target>
  </volume>
</pool>


<pool type='dir'>
  <name>spurious-slash-pool</name>
  <uuid>35bb2ad9-1122-cdfe-461a-b8907f6e53fe</uuid>
  <capacity>107374182400</capacity>
  <allocation>0</allocation>
  <available>107374182400</available>
  <source>
  </source>
  <target>
    <path>/spurious-slash-pool//</path>
    <permissions>
      <mode>0700</mode>
      <owner>10736</owner>
      <group>10736</group>
    </permissions>
  </target>

  <volume type='file'>
    <name>default-vol</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target/>
  </volume>
  <volume type='file'>
    <name>testvol1.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target/>
  </volume>
  <volume type='file'>
    <name>testvol2.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target/>
  </volume>
  <volume type='file'>
    <name>collidevol1.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target/>
  </volume>
</pool>


<pool type='dir'>
  <name>inactive-pool</name>
  <uuid>35bb2aaa-388a-cdfe-461a-b8907f6e53fe</uuid>
  <capacity>107374182400</capacity>
  <allocation>0</allocation>
  <available>107374182400</available>
  <source>
  </source>
  <target>
    <path>/inactive-pool</path>
    <permissions>
      <mode>0700</mode>
      <owner>10736</owner>
      <group>10736</group>
    </permissions>
  </target>

  <volume type='file'>
    <name>inactive-vol</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='qcow2'/>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
</pool>


<pool type='dir'>
  <name>cross-pool</name>
  <uuid>35bb2ad9-388a-cdfe-461a-b8907f6e5abc</uuid>
  <capacity>107374182400</capacity>
  <allocation>0</allocation>
  <available>107374182400</available>
  <source>
  </source>
  <target>
    <path>/dev/cross-pool</path>
    <permissions>
      <mode>0700</mode>
      <owner>10736</owner>
      <group>10736</group>
    </permissions>
  </target>

  <volume type='file'>
    <name>testvol1.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>

  <volume type='file'>
    <name>testvol2.img</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
</pool>


<pool type='dir'>
  <name>full-pool</name>
  <uuid>35bb2ad9-388a-cdfe-461a-b8907f6e5555</uuid>
  <capacity>1</capacity>
  <allocation>1</allocation>
  <available>0</available>
  <source>
  </source>
  <target>
    <path>/full-pool</path>
    <permissions>
      <mode>0700</mode>
      <owner>10736</owner>
      <group>10736</group>
    </permissions>
  </target>

  <volume type='file'>
    <name>testvol1.img</name>
    <capacity>107374182400</capacity>
    <allocation>107374182400</allocation>
    <target>
      <format type='qcow2'/>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
</pool>


<pool type='logical'>
  <name>disk-pool</name>
  <uuid>35bb2ad9-388a-cdfe-461a-b8907f6e5aaa</uuid>
  <capacity>107374182400</capacity>
  <allocation>0</allocation>
  <available>107374182400</available>
  <source>
  </source>
  <target>
    <path>/dev/disk-pool</path>
    <permissions>
      <mode>0700</mode>
      <owner>10736</owner>
      <group>10736</group>
    </permissions>
  </target>

  <volume type='block'>
    <name>diskvol1</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
</pool>


<pool type='iscsi'>
  <name>iscsi-pool</name>
  <uuid>abcdead9-388a-cdfe-461a-b8907f6e5aaa</uuid>
  <capacity>107374182400</capacity>
  <allocation>0</allocation>
  <available>107374182400</available>
  <source>
    <host name="iscsi.example.com"/>
    <device path="demo-target"/>
  </source>
  <target>
    <path>/iscsi-pool</path>
    <permissions>
      <mode>0700</mode>
      <owner>10736</owner>
      <group>10736</group>
    </permissions>
  </target>

  <volume type='block'>
    <name>diskvol1</name>
    <capacity>1000000</capacity>
    <allocation>50000</allocation>
    <target>
      <format type='unknown'/>
      <permissions>
        <mode>0700</mode>
        <owner>10736</owner>
        <group>10736</group>
      </permissions>
    </target>
  </volume>
</pool>


<pool type='rbd'>
  <name>rbd-ceph</name>
  <uuid>4bcd023e-990e-fcf6-d95c-52dd0cd938c8</uuid>
  <capacity unit='bytes'>47256127143936</capacity>
  <allocation unit='bytes'>5537792235090</allocation>
  <available unit='bytes'>35978000121856</available>
  <source>
    <host name='ceph-mon-1.example.com' port='6789'/>
    <host name='ceph-mon-2.example.com' port='6789'/>
    <host name='ceph-mon-3.example.com' port='6789'/>
    <name>rbd</name>
    <auth type='ceph' username='admin'>
      <secret uuid='f65cc5a8-b77b-4254-9030-d50a528fb456'/>
    </auth>
  </source>

  <volume type='network'>
    <name>vol1</name>
    <key>rbd/vol1</key>
    <capacity unit='bytes'>8302592</capacity>
    <allocation unit='bytes'>8388608</allocation>
    <target>
      <path>rbd/vol1</path>
      <format type='raw'/>
    </target>
  </volume>

  <volume type='network'>
    <name>some-rbd-vol</name>
    <key>rbd/some-rbd-vol</key>
    <capacity unit='bytes'>104857600</capacity>
    <allocation unit='bytes'>104857600</allocation>
    <target>
      <path>rbd/some-rbd-vol</path>
      <format type='raw'/>
    </target>
  </volume>
</pool>


<pool type='sheepdog'>
  <name>myshpool</name>
  <uuid>581381f8-a13f-4f7c-89b5-9c9b71c64834</uuid>
  <capacity unit='bytes'>107374182400</capacity>
  <allocation unit='bytes'>53687091200</allocation>
  <available unit='bytes'>53687091200</available>
  <source>
    <host name='localhost' port='7000'/>
    <name>mysheeppool</name>
  </source>

  <volume type='network'>
    <name>vol_sheepdog</name>
    <key>sheep/vol_sheepdog</key>
    <capacity unit='bytes'>1024</capacity>
    <allocation unit='bytes'>0</allocation>
    <target>
      <path>sheepdog:vol_sheepdog</path>
      <format type='unknown'/>
      <permissions>
        <mode>0600</mode>
        <owner>-1</owner>
        <group>-1</group>
      </permissions>
    </target>
  </volume>
</pool>


<pool type='gluster'>
  <name>gluster-pool</name>
  <uuid>7b83ef6d-28da-44f1-841f-2011320f13b0</uuid>
  <capacity unit='bytes'>492258959360</capacity>
  <allocation unit='bytes'>16975638528</allocation>
  <available unit='bytes'>475283320832</available>
  <source>
    <host name='192.168.1.100'/>
    <dir path='/some/dir'/>
    <name>test-volume</name>
  </source>

  <volume type='network'>
    <name>test-gluster.raw</name>
    <key>gluster://192.168.1.100/test-volume/some/dir/test-gluster.raw</key>
    <capacity unit='bytes'>10737418240</capacity>
    <allocation unit='bytes'>2489327616</allocation>
    <target>
      <path>gluster://192.168.1.100/test-volume/some/dir/test-gluster.raw</path>
      <format type='raw'/>
      <permissions>
        <mode>0666</mode>
        <owner>0</owner>
        <group>0</group>
      </permissions>
    </target>
  </volume>

  <volume type='network'>
    <name>test-gluster2.raw</name>
    <key>gluster://192.168.1.100/test-volume/some/dir/test-gluster2.raw</key>
    <capacity unit='bytes'>10737418240</capacity>
    <allocation unit='bytes'>2489327616</allocation>
    <target>
      <path>gluster://192.168.1.100/test-volume/some/dir/test-gluster2.raw</path>
      <format type='raw'/>
      <permissions>
        <mode>0666</mode>
        <owner>0</owner>
        <group>0</group>
      </permissions>
    </target>
  </volume>

  <volume type='network'>
    <name>test-gluster.qcow2</name>
    <key>gluster://192.168.1.100/test-volume/test-gluster.qcow2</key>
    <capacity unit='bytes'>10737418240</capacity>
    <allocation unit='bytes'>2489327616</allocation>
    <target>
      <path>gluster://192.168.1.100/test-volume/test-gluster.qcow2</path>
      <format type='qcow2'/>
      <permissions>
        <mode>0666</mode>
        <owner>0</owner>
        <group>0</group>
      </permissions>
    </target>
  </volume>
</pool>


<pool type="zfs">
  <name>zfs</name>
  <source>
    <name>testzfspool</name>
    <device path="/dev/ada1"/>
  </source>
</pool>

<pool type="dir">
  <name>nvram</name>
  <source>
  </source>
  <target>
    <path>/nvram</path>
    <permissions>
      <mode>0700</mode>
      <owner>0</owner>
      <group>0</group>
    </permissions>
  </target>

  <volume type='file'>
    <name>clone-orig_VARS.fd</name>
    <capacity>1000</capacity>
    <allocation>1000</allocation>
    <target>
      <permissions>
        <mode>0700</mode>
        <owner>0</owner>
        <group>0</group>
      </permissions>
    </target>
  </volume>
  <volume type='file'>
    <name>test-many-devices_VARS.fd</name>
    <capacity>1000</capacity>
    <allocation>1000</allocation>
    <target>
      <permissions>
        <mode>0700</mode>
        <owner>0</owner>
        <group>0</group>
      </permissions>
    </target>
  </volume>

</pool>

<pool type='mpath'>
  <name>mpath</name>
  <target>
    <path>/dev/mapper</path>
  </target>
</pool>


<pool type='scsi'>
  <name>scsi</name>
  <source>
    <adapter type='scsi_host' name='host0'/>
  </source>
  <target>
    <path>/dev/disk/by-path</path>
  </target>

  <volume type='block'>
    <name>unit:0:0:0</name>
    <key>35002538043584d30</key>
    <capacity unit='bytes'>256060514304</capacity>
    <allocation unit='bytes'>256060514304</allocation>
    <physical unit='bytes'>256060514304</physical>
    <target>
      <path>/dev/disk/by-path/pci-0000:00:17.0-ata-1</path>
      <format type='dos'/>
    </target>
  </volume>

  <volume type='block'>
    <name>unit:0:0:1</name>
    <key>35002538043584d31</key>
    <capacity unit='bytes'>256060514304</capacity>
    <allocation unit='bytes'>256060514304</allocation>
    <physical unit='bytes'>256060514304</physical>
    <target>
      <path>/dev/disk/by-path/pci-0000:00:17.0-ata-30</path>
      <format type='gpt'/>
    </target>
  </volume>
</pool>






<!-- ####### -->
<!-- Devices -->
<!-- ####### -->



<device>
  <name>computer</name>
  <capability type='system'>
    <hardware>
      <vendor>LENOVO</vendor>
      <version>ThinkPad T61</version>
      <serial>L3B2616</serial>
      <uuid>97e80381-494f-11cb-8e0e-cbc168f7d753</uuid>
    </hardware>
    <firmware>
      <vendor>LENOVO</vendor>
      <version>7LET51WW (1.21 )</version>
      <release_date>08/22/2007</release_date>
    </firmware>
  </capability>
</device>


<device>
  <name>net_00_1c_25_10_b1_e4</name>
  <parent>pci_8086_1049</parent>
  <capability type='net'>
    <interface>eth0</interface>
    <address>00:1c:25:10:b1:e4</address>
    <capability type='80203'/>
  </capability>
</device>

<device>
  <name>net_00_1c_25_10_b1_ea</name>
  <parent>pci_8086_1022</parent>
  <capability type='net'>
    <interface>physeth2</interface>
    <address>00:1c:25:10:aa:e4</address>
    <capability type='80203'/>
  </capability>
</device>

<device>
  <name>net_00_1c_bf_04_29_a4</name>
  <parent>pci_8086_4227</parent>
  <capability type='net'>
    <interface>wlan0</interface>
    <address>00:1c:bf:04:29:a4</address>
    <capability type='80211'/>
  </capability>
</device>


<device>
  <name>net_00_1c_bf_04_29_a4_0</name>
  <parent>pci_8086_4227</parent>
  <capability type='net'>
    <interface>wmaster0</interface>
    <address>00:1c:bf:04:29:a4</address>
  </capability>
</device>


<device>
  <name>net_00_1b_21_5a_69_f5</name>
  <parent>pci_8086_10fb</parent>
  <capability type='net'>
    <interface>eth3</interface>
    <address>00:1b:21:5a:69:f5</address>
  </capability>
</device>


<device>
  <name>net_3e_79_a5_6f_37_c3</name>
  <parent>computer</parent>
  <capability type='net'>
    <interface>virbr0</interface>
    <address>3e:79:a5:6f:37:c3</address>
  </capability>
</device>


<device>
  <name>net_computer_loopback</name>
  <parent>computer</parent>
  <capability type='net'>
    <interface>lo</interface>
    <address>00:00:00:00:00:00</address>
  </capability>
</device>


<device>
  <name>pci_1180_476</name>
  <parent>pci_8086_2448</parent>
  <driver>
    <name>yenta_cardbus</name>
  </driver>
  <capability type='pci'>
    <domain>1</domain>
    <bus>21</bus>
    <slot>10</slot>
    <function>50</function>
    <product id='0x0476'>RL5c476 II</product>
    <vendor id='0x1180'>Ricoh Co Ltd</vendor>
    <iommuGroup number='3'>
      <address domain='0x0000' bus='0x15' slot='0x00' function='0x4'/>
    </iommuGroup>
  </capability>
</device>


<device>
  <name>pci_1180_592</name>
  <parent>pci_8086_2448</parent>
  <capability type='pci'>
    <domain>0</domain>
    <bus>21</bus>
    <slot>0</slot>
    <function>4</function>
    <product id='0x0592'>R5C592 Memory Stick Bus Host Adapter</product>
    <vendor id='0x1180'>Ricoh Co Ltd</vendor>
    <iommuGroup number='3'>
      <address domain='0x0001' bus='0x15' slot='0x0A' function='0x4'/>
    </iommuGroup>
  </capability>
</device>


<device>
  <name>pci_1180_822</name>
  <parent>pci_8086_2448</parent>
  <driver>
    <name>sdhci-pci</name>
  </driver>
  <capability type='pci'>
    <domain>2</domain>
    <bus>21</bus>
    <slot>0</slot>
    <function>2</function>
    <product id='0x0822'>R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter</product>
    <vendor id='0x1180'>Ricoh Co Ltd</vendor>
  </capability>
</device>


<device>
  <name>pci_1180_832</name>
  <parent>pci_8086_2448</parent>
  <driver>
    <name>firewire_ohci</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>21</bus>
    <slot>0</slot>
    <function>1</function>
    <product id='0x0832'>R5C832 IEEE 1394 Controller</product>
    <vendor id='0x1180'>Ricoh Co Ltd</vendor>
  </capability>
</device>


<device>
  <name>pci_1180_843</name>
  <parent>pci_8086_2448</parent>
  <driver>
    <name>ricoh-mmc</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>21</bus>
    <slot>0</slot>
    <function>3</function>
    <product id='0x0843'>R5C843 MMC Host Controller</product>
    <vendor id='0x1180'>Ricoh Co Ltd</vendor>
  </capability>
</device>


<device>
  <name>pci_1180_852</name>
  <parent>pci_8086_2448</parent>
  <capability type='pci'>
    <domain>0</domain>
    <bus>21</bus>
    <slot>0</slot>
    <function>5</function>
    <product id='0x0852'>xD-Picture Card Controller</product>
    <vendor id='0x1180'>Ricoh Co Ltd</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_1049</name>
  <parent>computer</parent>
  <driver>
    <name>e1000e</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>25</slot>
    <function>0</function>
    <product id='0x1049'>82566MM Gigabit Network Connection</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_10fb</name>
  <parent>pci_0000_80_01_0</parent>
  <driver>
    <name>ixgbe</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>129</bus>
    <slot>0</slot>
    <function>1</function>
    <product id='0x10fb'>82599ES 10-Gigabit SFI/SFP+ Network Connection</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
    <capability type='virt_functions' maxCount='63'>
      <address domain='0x0000' bus='0x81' slot='0x10' function='0x1'/>
      <address domain='0x0000' bus='0x81' slot='0x10' function='0x3'/>
      <address domain='0x0000' bus='0x81' slot='0x10' function='0x5'/>
      <address domain='0x0000' bus='0x81' slot='0x10' function='0x7'/>
    </capability>
    <iommuGroup number='47'>
      <address domain='0x0000' bus='0x81' slot='0x00' function='0x1'/>
    </iommuGroup>
  </capability>
</device>


<device>
  <name>pci_8086_2448</name>
  <parent>computer</parent>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>30</slot>
    <function>0</function>
    <product id='0x2448'>82801 Mobile PCI Bridge</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2811</name>
  <parent>computer</parent>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>31</slot>
    <function>0</function>
    <product id='0x2811'>82801HBM (ICH8M-E) LPC Interface Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2829</name>
  <parent>computer</parent>
  <driver>
    <name>ahci</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>31</slot>
    <function>2</function>
    <product id='0x2829'>82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2829_scsi_host</name>
  <parent>pci_8086_2829</parent>
  <capability type='scsi_host'>
    <host>0</host>
  </capability>
</device>


<device>
  <name>pci_8086_2829_scsi_host_0</name>
  <parent>pci_8086_2829</parent>
  <capability type='scsi_host'>
    <host>1</host>
  </capability>
</device>


<device>
  <name>pci_8086_2829_scsi_host_1</name>
  <parent>pci_8086_2829</parent>
  <capability type='scsi_host'>
    <host>2</host>
  </capability>
</device>


<device>
  <name>pci_8086_2829_scsi_host_scsi_device_lun0</name>
  <parent>pci_8086_2829_scsi_host</parent>
  <driver>
    <name>sd</name>
  </driver>
  <capability type='scsi'>
    <host>0</host>
    <bus>0</bus>
    <target>0</target>
    <lun>0</lun>
    <type>disk</type>
  </capability>
</device>


<device>
  <name>pci_8086_2829_scsi_host_scsi_host</name>
  <parent>pci_8086_2829_scsi_host</parent>
  <capability type='scsi_host'>
    <host>0</host>
  </capability>
</device>


<device>
  <name>pci_8086_2830</name>
  <parent>computer</parent>
  <driver>
    <name>uhci_hcd</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>29</slot>
    <function>0</function>
    <product id='0x2830'>82801H (ICH8 Family) USB UHCI Controller #1</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2831</name>
  <parent>computer</parent>
  <driver>
    <name>uhci_hcd</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>29</slot>
    <function>1</function>
    <product id='0x2831'>82801H (ICH8 Family) USB UHCI Controller #2</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2832</name>
  <parent>computer</parent>
  <driver>
    <name>uhci_hcd</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>29</slot>
    <function>2</function>
    <product id='0x2832'>82801H (ICH8 Family) USB UHCI Controller #3</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2834</name>
  <parent>computer</parent>
  <driver>
    <name>uhci_hcd</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>26</slot>
    <function>0</function>
    <product id='0x2834'>82801H (ICH8 Family) USB UHCI Controller #4</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2835</name>
  <parent>computer</parent>
  <driver>
    <name>uhci_hcd</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>26</slot>
    <function>1</function>
    <product id='0x2835'>82801H (ICH8 Family) USB UHCI Controller #5</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2836</name>
  <parent>computer</parent>
  <driver>
    <name>ehci_hcd</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>29</slot>
    <function>7</function>
    <product id='0x2836'>82801H (ICH8 Family) USB2 EHCI Controller #1</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_283a</name>
  <parent>computer</parent>
  <driver>
    <name>ehci_hcd</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>26</slot>
    <function>7</function>
    <product id='0x283a'>82801H (ICH8 Family) USB2 EHCI Controller #2</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_283e</name>
  <parent>computer</parent>
  <driver>
    <name>i801_smbus</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>31</slot>
    <function>3</function>
    <product id='0x283e'>82801H (ICH8 Family) SMBus Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_283f</name>
  <parent>computer</parent>
  <driver>
    <name>pcieport-driver</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>28</slot>
    <function>0</function>
    <product id='0x283f'>82801H (ICH8 Family) PCI Express Port 1</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2841</name>
  <parent>computer</parent>
  <driver>
    <name>pcieport-driver</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>28</slot>
    <function>1</function>
    <product id='0x2841'>82801H (ICH8 Family) PCI Express Port 2</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2843</name>
  <parent>computer</parent>
  <driver>
    <name>pcieport-driver</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>28</slot>
    <function>2</function>
    <product id='0x2843'>82801H (ICH8 Family) PCI Express Port 3</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2845</name>
  <parent>computer</parent>
  <driver>
    <name>pcieport-driver</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>28</slot>
    <function>3</function>
    <product id='0x2845'>82801H (ICH8 Family) PCI Express Port 4</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2847</name>
  <parent>computer</parent>
  <driver>
    <name>pcieport-driver</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>28</slot>
    <function>4</function>
    <product id='0x2847'>82801H (ICH8 Family) PCI Express Port 5</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_284b</name>
  <parent>computer</parent>
  <driver>
    <name>HDA Intel</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>27</slot>
    <function>0</function>
    <product id='0x284b'>82801H (ICH8 Family) HD Audio Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2850</name>
  <parent>computer</parent>
  <driver>
    <name>ata_piix</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>31</slot>
    <function>1</function>
    <product id='0x2850'>82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2850_scsi_host</name>
  <parent>pci_8086_2850</parent>
  <capability type='scsi_host'>
    <host>3</host>
  </capability>
</device>


<device>
  <name>pci_8086_2850_scsi_host_0</name>
  <parent>pci_8086_2850</parent>
  <capability type='scsi_host'>
    <host>4</host>
  </capability>
</device>


<device>
  <name>pci_8086_2850_scsi_host_scsi_device_lun0</name>
  <parent>pci_8086_2850_scsi_host</parent>
  <driver>
    <name>sr</name>
  </driver>
  <capability type='scsi'>
    <host>3</host>
    <bus>0</bus>
    <target>0</target>
    <lun>0</lun>
    <type>cdrom</type>
  </capability>
</device>


<device>
  <name>pci_8086_2850_scsi_host_scsi_host</name>
  <parent>pci_8086_2850_scsi_host</parent>
  <capability type='scsi_host'>
    <host>3</host>
  </capability>
</device>


<device>
  <name>pci_8086_2a00</name>
  <parent>computer</parent>
  <driver>
    <name>agpgart-intel</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>2</bus>
    <slot>0</slot>
    <function>15</function>
    <product id='0x2a00'>Mobile PM965/GM965/GL960 Memory Controller Hub</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2a02</name>
  <parent>computer</parent>
  <driver>
    <name>i915</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>2</slot>
    <function>0</function>
    <product id='0x2a02'>Mobile GM965/GL960 Integrated Graphics Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2a03</name>
  <parent>computer</parent>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>2</slot>
    <function>1</function>
    <product id='0x2a03'>Mobile GM965/GL960 Integrated Graphics Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2a04</name>
  <parent>computer</parent>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>3</slot>
    <function>0</function>
    <product id='0x2a04'>Mobile PM965/GM965 MEI Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2a06</name>
  <parent>computer</parent>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>3</slot>
    <function>2</function>
    <product id='0x2a06'>Mobile PM965/GM965 PT IDER Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_2a07</name>
  <parent>computer</parent>
  <driver>
    <name>serial</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>3</slot>
    <function>3</function>
    <product id='0x2a07'>Mobile PM965/GM965 KT Controller</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_8086_4227</name>
  <parent>pci_8086_2841</parent>
  <driver>
    <name>iwl3945</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>3</bus>
    <slot>0</slot>
    <function>0</function>
    <product id='0x4227'>PRO/Wireless 3945ABG [Golan] Network Connection</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>storage_serial_ST910021AS_5MH04L87</name>
  <parent>pci_8086_2829_scsi_host_scsi_device_lun0</parent>
  <capability type='storage'>
    <block>/dev/sda</block>
    <bus>pci</bus>
    <drive_type>disk</drive_type>
    <model>ST910021AS</model>
    <vendor>ATA</vendor>
    <serial>ST910021AS_5MH04L87</serial>
    <size>100030242816</size>
  </capability>
</device>


<device>
  <name>storage_serial_SATA_WDC_WD1600AAJS__WD_WCAP95119685</name>
  <parent>pci_8086_27c0_scsi_host_scsi_device_lun0</parent>
  <devnode type='dev'>/dev/sda</devnode>
  <capability type='storage'>
    <block>/dev/sda</block>
    <bus>scsi</bus>
    <drive_type>disk</drive_type>
    <model>WDC WD1600AAJS-2</model>
    <vendor>ATA</vendor>
    <size>160041885696</size>
  </capability>
</device>

<device>
  <name>storage_model_DVDRAM_GSA_U10N</name>
  <parent>pci_8086_2850_scsi_host_scsi_device_lun0</parent>
  <capability type='storage'>
    <block>/dev/sr1</block>
    <bus>pci</bus>
    <drive_type>cdrom</drive_type>
    <model>DVDRAM GSA-U10N</model>
    <vendor>HL-DT-ST</vendor>
    <capability type='removable'>
      <media_available>0</media_available>
      <media_size>0</media_size>
    </capability>
  </capability>
</device>


<device>
  <name>storage_model_DVDRAM_GSA_U1200N</name>
  <parent>pci_8086_2850_scsi_host_scsi_device_lun0</parent>
  <capability type='storage'>
    <block>/dev/sr0</block>
    <bus>pci</bus>
    <drive_type>cdrom</drive_type>
    <model>DVDRAM GSA-U10N</model>
    <vendor>HL-DT-ST</vendor>
    <capability type='removable'>
      <media_available>1</media_available>
      <media_size>1234</media_size>
      <media_label>Fedora12_media</media_label>
    </capability>
  </capability>
</device>


<!-- Floppy drive empty -->
<device>
  <name>storage_serial_MITSUMI_MITSUMI_USB_FDD_061M</name>
  <parent>usb_device_3ee_6901_noserial_if0_scsi_host_0_scsi_device_lun0</parent>
  <capability type='storage'>
    <block>/dev/fda</block>
    <bus>usb</bus>
    <drive_type>floppy</drive_type>
    <model>USB FDD 061M</model>
    <vendor>MITSUMI</vendor>
    <serial>MITSUMI_MITSUMI_USB_FDD_061M</serial>
    <capability type='removable'>
      <media_available>0</media_available>
      <media_size>0</media_size>
    </capability>
    <capability type='hotpluggable' />
  </capability>
</device>


<!-- Floppy drive full -->
<device>
  <name>storage_serial_MITSUMI_MITSUMI_USB_FDD_061M_2</name>
  <parent>usb_device_3ee_6901_noserial_if0_scsi_host_0_scsi_device_lun0</parent>
  <capability type='storage'>
    <block>/dev/fdb</block>
    <bus>usb</bus>
    <drive_type>floppy</drive_type>
    <model>USB FDD 061M</model>
    <vendor>MITSUMI</vendor>
    <serial>MITSUMI_MITSUMI_USB_FDD_061M</serial>
    <capability type='removable'>
      <media_available>1</media_available>
      <media_size>123456</media_size>
      <media_label>Floppy_install_label</media_label>
    </capability>
    <capability type='hotpluggable' />
  </capability>
</device>


<device>
  <name>storage_serial_SanDisk_Cruzer_Micro_2004453082054CA1BEEE_0_0</name>
  <parent>usb_device_781_5151_2004453082054CA1BEEE_if0_scsi_host_0_scsi_device_lun0</parent>
  <capability type='storage'>
    <block>/dev/sdb</block>
    <bus>usb</bus>
    <drive_type>disk</drive_type>
    <model>Cruzer Micro</model>
    <vendor>SanDisk</vendor>
    <capability type='removable'>
      <media_available>1</media_available>
      <media_size>12345678</media_size>
      <media_label>Windows_Media</media_label>
    </capability>
    <capability type='hotpluggable' />
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1a_0</name>
  <parent>pci_8086_2834</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>3</bus>
    <device>1</device>
    <product id='0x0001'>1.1 root hub</product>
    <vendor id='0x1d6b'>Linux Foundation</vendor>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1a_0_if0</name>
  <parent>usb_device_1d6b_1_0000_00_1a_0</parent>
  <driver>
    <name>hub</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>9</class>
    <subclass>0</subclass>
    <protocol>0</protocol>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1a_1</name>
  <parent>pci_8086_2835</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>4</bus>
    <device>1</device>
    <product id='0x0001'>1.1 root hub</product>
    <vendor id='0x1d6b'>Linux Foundation</vendor>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1a_1_if0</name>
  <parent>usb_device_1d6b_1_0000_00_1a_1</parent>
  <driver>
    <name>hub</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>9</class>
    <subclass>0</subclass>
    <protocol>0</protocol>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1d_0</name>
  <parent>pci_8086_2830</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>5</bus>
    <device>1</device>
    <product id='0x0001'>1.1 root hub</product>
    <vendor id='0x1d6b'>Linux Foundation</vendor>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1d_0_if0</name>
  <parent>usb_device_1d6b_1_0000_00_1d_0</parent>
  <driver>
    <name>hub</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>9</class>
    <subclass>0</subclass>
    <protocol>0</protocol>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1d_1</name>
  <parent>pci_8086_2831</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>6</bus>
    <device>1</device>
    <product id='0x0001'>1.1 root hub</product>
    <vendor id='0x1d6b'>Linux Foundation</vendor>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1d_1_if0</name>
  <parent>usb_device_1d6b_1_0000_00_1d_1</parent>
  <driver>
    <name>hub</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>9</class>
    <subclass>0</subclass>
    <protocol>0</protocol>
  </capability>
</device>


<device>
  <name>usb_device_781_5151_2004453082054CA1BEEE</name>
  <parent>usb_device_1d6b_2_0000_00_1a_7</parent>
  <capability type='usb_device'>
    <bus>1</bus>
    <device>4</device>
    <product id='0x5151'>Cruzer Micro 256/512MB Flash Drive</product>
    <vendor id='0x0781'>SanDisk Corp.</vendor>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1d_2</name>
  <parent>pci_8086_2832</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>7</bus>
    <device>1</device>
    <product id='0x0001'>1.1 root hub</product>
    <vendor id='0x1d6b'>Linux Foundation</vendor>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_1_0000_00_1d_2_if0</name>
  <parent>usb_device_1d6b_1_0000_00_1d_2</parent>
  <driver>
    <name>hub</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>9</class>
    <subclass>0</subclass>
    <protocol>0</protocol>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_2_0000_00_1a_7</name>
  <parent>pci_8086_283a</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>1</bus>
    <device>1</device>
    <product id='0x0002'>2.0 root hub</product>
    <vendor id='0x1d6b'>Linux Foundation</vendor>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_2_0000_00_1a_7_if0</name>
  <parent>usb_device_1d6b_2_0000_00_1a_7</parent>
  <driver>
    <name>hub</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>9</class>
    <subclass>0</subclass>
    <protocol>0</protocol>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_2_0000_00_1d_7</name>
  <parent>pci_8086_2836</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>2</bus>
    <device>1</device>
    <product id='0x0002'>2.0 root hub</product>
    <vendor id='0x1d6b'>Linux Foundation</vendor>
  </capability>
</device>


<device>
  <name>usb_device_1d6b_2_0000_00_1d_7_if0</name>
  <parent>usb_device_1d6b_2_0000_00_1d_7</parent>
  <driver>
    <name>hub</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>9</class>
    <subclass>0</subclass>
    <protocol>0</protocol>
  </capability>
</device>


<device>
  <name>usb_device_483_2016_noserial</name>
  <parent>usb_device_1d6b_1_0000_00_1a_0</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>3</bus>
    <device>2</device>
    <product id='0x2016'>Fingerprint Reader</product>
    <vendor id='0x0483'>SGS Thomson Microelectronics</vendor>
  </capability>
</device>


<device>
  <name>usb_device_483_2016_noserial_if0</name>
  <parent>usb_device_483_2016_noserial</parent>
  <capability type='usb'>
    <number>0</number>
    <class>255</class>
    <subclass>0</subclass>
    <protocol>0</protocol>
  </capability>
</device>


<device>
  <name>usb_device_4b3_4485_noserial</name>
  <parent>usb_device_1d6b_2_0000_00_1a_7</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>1</bus>
    <device>3</device>
    <product id='0x4485'>Serial Converter</product>
    <vendor id='0x04b3'>IBM Corp.</vendor>
  </capability>
</device>


<device>
  <name>usb_device_4b3_4485_noserial_if0</name>
  <parent>usb_device_4b3_4485_noserial</parent>
  <driver>
    <name>hub</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>9</class>
    <subclass>0</subclass>
    <protocol>2</protocol>
  </capability>
</device>


<device>
  <name>usb_device_62a_1_noserial</name>
  <parent>usb_device_4b3_4485_noserial</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>1</bus>
    <device>4</device>
    <product id='0x0001'>Notebook Optical Mouse</product>
    <vendor id='0x062a'>Creative Labs</vendor>
  </capability>
</device>


<device>
  <name>usb_device_62a_1_noserial_if0</name>
  <parent>usb_device_62a_1_noserial</parent>
  <driver>
    <name>usbhid</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>3</class>
    <subclass>1</subclass>
    <protocol>2</protocol>
  </capability>
</device>


<!-- NPIV and fibrechannel -->
<device>
  <name>pci_8086_25f8</name>
  <parent>computer</parent>
  <driver>
    <name>pcieport-driver</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>4</slot>
    <function>0</function>
    <product id='0x25f8'>5000 Series Chipset PCI Express x8 Port 4-5</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_10df_fe00_0</name>
  <parent>pci_8086_25f8</parent>
  <driver>
    <name>lpfc</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>16</bus>
    <slot>0</slot>
    <function>1</function>
    <product id='0xfe00'>Zephyr-X LightPulse Fibre Channel Host Adapter</product>
    <vendor id='0x10df'>Emulex Corporation</vendor>
  </capability>
</device>


<device>
  <name>pci_10df_fe00_0_scsi_host</name>
  <parent>pci_10df_fe00_0</parent>
  <capability type='scsi_host'>
    <host>4</host>
    <capability type='fc_host'>
      <wwnn>20000000c9848141</wwnn>
      <wwpn>10000000c9848141</wwpn>
    </capability>
    <capability type='vport_ops' />
  </capability>
</device>
<!-- End NPIV block -->


<!-- Duplicate USB devices -->
<device>
  <name>usb_5_20</name>
  <parent>usb_usb5</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>1</bus>
    <device>20</device>
    <product id='0x7e04'>Dup USB 1</product>
    <vendor id='0x03f0'>HP</vendor>
  </capability>
</device>

<device>
  <name>usb_5_21</name>
  <parent>usb_usb5</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>1</bus>
    <device>21</device>
    <product id='0x7e04'>Dup USB 2</product>
    <vendor id='0x03f0'>HP</vendor>
  </capability>
</device>
<!-- End duplicate USB devices -->

<device>
  <name>pci_0000_00_02_0</name>
  <path>/sys/devices/pci0000:00/0000:00:02.0</path>
  <parent>computer</parent>
  <driver>
    <name>i915</name>
  </driver>
  <capability type='pci'>
    <domain>0</domain>
    <bus>0</bus>
    <slot>2</slot>
    <function>0</function>
    <product id='0x191b'>HD Graphics 530</product>
    <vendor id='0x8086'>Intel Corporation</vendor>
  </capability>
</device>

<device>
  <name>drm_renderD129</name>
  <path>/sys/devices/pci0000:00/0000:00:02.0/drm/renderD129</path>
  <devnode type='dev'>/dev/dri/renderD129</devnode>
  <devnode type='link'>/dev/dri/by-path/pci-0000:00:02.0-render</devnode>
  <devnode type='link'>/dev/dri/by-id/foo-render</devnode>
  <parent>pci_0000_00_02_0</parent>
  <capability type='drm'>
    <type>render</type>
  </capability>
</device>



<!-- ########## -->
<!-- Interfaces -->
<!-- ########## -->


<interface type='ethernet' name='eth0'>
  <start mode='none'/>
  <mac address='00:FF:EE:FF:EE:FF'/>
</interface>
<interface type='ethernet' name='eth1'>
  <mac address='00:FF:EE:FF:EE:AB'/>
</interface>
<interface type='ethernet' name='eth2'>
  <start mode='hotplug'/>
  <mac address='00:FF:EE:FF:EE:CD'/>
</interface>

<interface type='ethernet' name='lo'>
  <start mode='onboot'/>
  <protocol family='ipv4'>
    <ip address='127.0.0.1' prefix='8'/>
  </protocol>
</interface>

<interface type='ethernet' name='wlan0'>
  <start mode='none'/>
  <mac address='00:AA:CC:BB:AA:BB'/>
</interface>


<!-- backup bond -->
<interface type="bond" name="bond0">
  <start mode="none"/>
  <protocol family="ipv4">
    <ip address="192.168.50.7" prefix="24"/>
    <route gateway="192.168.50.1"/>
  </protocol>
  <bond mode="active-backup">
    <miimon freq="100" updelay="10" carrier="ioctl"/>
    <interface type="ethernet" name="eth-bond0-1"/>
    <interface type="ethernet" name="eth-bond0-2"/>
  </bond>
</interface>
<interface type="ethernet" name="eth-bond0-1"/>
<interface type="ethernet" name="eth-bond0-2"/>


<!-- Plain bridge -->
<interface type="bridge" name="brplain">
  <start mode="onboot"/>
  <mtu size="1500"/>
  <bridge stp="off">
    <interface type="ethernet" name="eth-brplain0"/>
    <interface type="ethernet" name="eth-brplain1"/>
  </bridge>
</interface>

<interface type="ethernet" name="eth-brplain0"/>
<interface type="ethernet" name="eth-brplain1"/>


<!-- Empty bridge -->
<interface type="bridge" name="brempty">
  <start mode="onboot"/>
  <mtu size="1500"/>
  <bridge stp="off"/>
  <protocol family='ipv4'>
    <dhcp/>
  </protocol>
  <protocol family='ipv6'>
    <autoconf/>
    <dhcp/>
  </protocol>
</interface>


<!-- Bridge using vlan -->
<interface type="bridge" name="brvlan">
  <start mode="onboot"/>
  <protocol family="ipv4">
    <dhcp/>
  </protocol>
  <bridge stp="off">
    <interface type="vlan" name="eth0.42">
      <vlan tag="42">
        <interface  name="eth0"/>
      </vlan>
    </interface>
  </bridge>
</interface>

<interface type="vlan" name="eth0.42">
  <start mode="onboot"/>
  <protocol family="ipv4">
    <dhcp peerdns="no"/>
    <ip address='192.168.1.2'/>
  </protocol>
  <vlan tag="42">
    <interface name="eth0"/>
  </vlan>
</interface>


<!-- Bridge using bond -->
<interface type="bond" name="bond-brbond">
  <start mode="none"/>
  <bond mode="active-backup">
    <miimon freq="100" updelay="10" carrier="ioctl"/>
    <interface type="ethernet" name="brbond-eth0"/>
    <interface type="ethernet" name="brbond-eth1"/>
  </bond>
  <protocol family='ipv6'>
    <ip address='3ffe:ffff:0:5::1' prefix='128'/>
    <ip address='3ffe:ffff:0:5::3' prefix='128'/>
    <ip address='3ffe:ffff:0:5::5' prefix='128'/>
  </protocol>
</interface>
<interface type="ethernet" name="eth-bond-brbond0"/>
<interface type="ethernet" name="eth-bond-brbond1"/>


<!-- Multi interface bridge -->
<interface type="bridge" name="brbond">
  <start mode="onboot"/>
  <mtu size="1500"/>
  <bridge stp="off">
    <interface type="bond" name="bond-brbond">
      <start mode="none"/>
      <bond mode="active-backup">
        <miimon freq="100" updelay="10" carrier="ioctl"/>
        <interface type="ethernet" name="brbond-eth0"/>
        <interface type="ethernet" name="brbond-eth1"/>
      </bond>
    </interface>
  </bridge>
  <protocol family='ipv4'>
    <ip address='192.168.0.5' prefix='24'/>
    <route gateway='192.168.0.1'/>
  </protocol>
</interface>


<!-- Unused vlan -->
<interface type="vlan" name="vlaneth1.3">
  <start mode="onboot"/>
  <vlan tag="43">
    <interface name="vlaneth1"/>
  </vlan>
</interface>
<interface type="ethernet" name="vlaneth1"/>

<!-- Unused interface -->
<interface type="ethernet" name="unusedeth0"/>

</node>
