libvirt/tests/xml2sexprdata/xml2sexpr-fv-net-many-models.xml
Cole Robinson c800e29b87 tests: Add several net model passthrough tests
Examples of passing unknown strings through <interface>
<model type=X/>

Acked-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Cole Robinson <crobinso@redhat.com>
2019-04-16 13:11:08 -04:00

44 lines
1.2 KiB
XML

<domain type='xen'>
<name>fvtest</name>
<uuid>b5d70dd275cdaca517769660b059d8bc</uuid>
<memory unit='KiB'>409600</memory>
<os>
<type>hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev='hd'/>
</os>
<devices>
<emulator>/usr/lib64/xen/bin/qemu-dm</emulator>
<interface type='bridge'>
<source bridge='xenbr0'/>
<mac address='00:11:22:33:44:55'/>
<model type='idontexist'/>
</interface>
<interface type='bridge'>
<source bridge='xenbr0'/>
<mac address='00:11:22:33:44:56'/>
<model type='vmxnet3'/>
</interface>
<interface type='bridge'>
<source bridge='xenbr0'/>
<mac address='00:11:22:33:44:57'/>
<model type='netfront'/>
</interface>
<interface type='bridge'>
<source bridge='xenbr0'/>
<mac address='00:11:22:33:44:58'/>
<model type='virtio'/>
</interface>
<interface type='bridge'>
<source bridge='xenbr0'/>
<mac address='00:11:22:33:44:58'/>
<model type='ne2k_pci'/>
</interface>
<interface type='bridge'>
<source bridge='xenbr0'/>
<mac address='00:11:22:33:44:58'/>
<model type='pcnet'/>
</interface>
</devices>
</domain>