1 2 3 4 5 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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
|
<node>
<!-- driver content roughly matching what test:///default provides -->
<cpu>
<nodes>2</nodes>
<sockets>2</sockets>
<cores>2</cores>
<threads>2</threads>
<active>16</active>
<mhz>4000</mhz>
<model>i686</model>
</cpu>
<memory>10000000</memory>
<domain type='test' id='1'>
<name>test</name>
<uuid>6695eb01-f6a4-8304-79aa-97f2502e193f</uuid>
<memory unit='KiB'>8388608</memory>
<currentMemory unit='KiB'>2097152</currentMemory>
<vcpu placement='static'>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>
<disk type='file' device='disk'>
<source file='/guest/diskimage1'/>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
</disk>
<interface type='network'>
<mac address='aa:bb:cc:dd:ee:ff'/>
<source network='default'/>
<target dev='testnet0'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
</interface>
<memballoon model='virtio'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</memballoon>
</devices>
</domain>
<network>
<name>default</name>
<uuid>dd8fe884-6c02-601e-7551-cca97df1c5df</uuid>
<forward mode='nat'/>
<bridge name='virbr0' stp='on' delay='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>
<pool type='dir'>
<name>pool-dir</name>
<uuid>dfe224cb-28fb-8dd0-c4b2-64eb3f0f4566</uuid>
<capacity unit='bytes'>107374182400</capacity>
<allocation unit='bytes'>0</allocation>
<available unit='bytes'>107374182400</available>
<source>
</source>
<target>
<path>/pool-dir</path>
</target>
</pool>
<device>
<name>computer</name>
<capability type='system'>
<hardware>
<vendor>Libvirt</vendor>
<version>Test driver</version>
<serial>123456</serial>
<uuid>11111111-2222-3333-4444-555555555555</uuid>
</hardware>
<firmware>
<vendor>Libvirt</vendor>
<version>Test Driver</version>
<release_date>01/22/2007</release_date>
</firmware>
</capability>
</device>
<device>
<name>scsi_host1</name>
<parent>computer</parent>
<capability type='scsi_host'>
<host>1</host>
<unique_id>0</unique_id>
<capability type='fc_host'>
<wwnn>2000000012341234</wwnn>
<wwpn>1000000012341234</wwpn>
<fabric_wwn>2000000043214321</fabric_wwn>
</capability>
<capability type='vport_ops'>
<max_vports>0</max_vports>
<vports>0</vports>
</capability>
</capability>
</device>
<device>
<name>scsi_host2</name>
<parent>computer</parent>
<capability type='scsi_host'>
<host>2</host>
<unique_id>1</unique_id>
<capability type='fc_host'>
<wwnn>2000000056785678</wwnn>
<wwpn>1000000056785678</wwpn>
<fabric_wwn>2000000087658765</fabric_wwn>
</capability>
<capability type='vport_ops'>
<max_vports>0</max_vports>
<vports>0</vports>
</capability>
</capability>
</device>
<device>
<name>scsi_host11</name>
<parent>scsi_host1</parent>
<capability type='scsi_host'>
<host>11</host>
<unique_id>10</unique_id>
<capability type='fc_host'>
<wwnn>2000000034563456</wwnn>
<wwpn>1000000034563456</wwpn>
<fabric_wwn>2000000043214321</fabric_wwn>
</capability>
</capability>
</device>
</node>
|