mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-02 09:47:16 +03:00
8f60e4af47
test:///default saves changes for the lifetime of the connecting process, which can cause weird interdependent issues in the test suite. Duplicating it with driver XML will avoid those issues popping up. Signed-off-by: Cole Robinson <crobinso@redhat.com>
144 lines
3.5 KiB
XML
144 lines
3.5 KiB
XML
<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>default-pool</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>/default-pool</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>
|