mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
6c62ee7933
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>
21 lines
617 B
XML
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>
|