On 12/12/2011 05:20 AM, Amit Tewari wrote:
I assume you created this device via 'ip link add link eth0 type macvtap' command?
The direct type of interface automatically creates a macvtap interface. However, it will fail if there already is a macvtap device with that same MAC address connected to the same physical interface, here eth0. So if you delete this macvtap interface first (ip link del mavtap0), then start the VM using 'virsh start' then it will work. libvirt wants to create a macvtap device since only then it knows that it is the 'owner' of the device; it doesn't just us a macvtap device that happens to be available since that could be 'owner' by some other application.