How do I specify a network interface in libvirt XML that is equivalent to the qemu-system-* argument -nic user,model=virtio-net-pci
. I have a variety of qemu machines (without KVM) that happily boot with this argument but I can't figure out how to specify it in a domain XML file.
Asked
Active
Viewed 387 times
0

infinitesteps
- 103
- 4
1 Answers
2
I found this out by creating a domain with virt-install
and --network=user
. The resultant XML:
<interface type="user">
<model type="virtio"/>
</interface>

Wolt
- 36
- 2