I'm using wireless on my kvm host so have set up a tap device. I can launch my guest using this command:
sudo kvm /path/to/guest.img -net nic,macaddr=DE:AD:BE:EF:90:26 -net tap,ifname=tap0,script=no
This gives me everything I need network-wise with full access to 192.168.1.0/24.
How do I set these parameters in /etc/libvirt/qemu/guest.xml so it starts with these settings when using virt manager? I've tried:
<target dev="tap0" />
And various incarnations without luck. It seems virt-manager complains mostly about "tap0 is not a bridge device".