libvirt/tests/qemuxmlconfdata/net-usb.xml
Rayhan Faizel 6c62ee7933 tests: Add testcase for usb-net
Add small test case to demonstrate use of usb-net with user networking
backend.

Signed-off-by: Rayhan Faizel <rayhan.faizel@gmail.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
2024-04-03 10:40:32 +02:00

21 lines
617 B
XML

<domain type='qemu'>
<name>QEMUGuest1</name>
<uuid>2d4d4b20-b19b-4713-af0a-bf1cab8b455b</uuid>
<memory unit='KiB'>4194304</memory>
<currentMemory unit='KiB'>4194304</currentMemory>
<vcpu placement='static'>1</vcpu>
<os>
<type arch='x86_64' machine='pc'>hvm</type>
<boot dev='hd'/>
</os>
<devices>
<emulator>/usr/bin/qemu-system-x86_64</emulator>
<controller type='usb' index='0' model='qemu-xhci' ports='1'/>
<interface type="user">
<mac address="00:11:22:33:44:55"/>
<model type="usb-net"/>
</interface>
<memballoon model='virtio'/>
</devices>
</domain>