[libvirt] [PATCH 0/3] Fix qemu's <interface type='ethernet'> tap device online status

Laine Stump laine at laine.org
Thu Aug 25 23:01:16 UTC 2016

On 08/25/2016 01:57 AM, Laine Stump wrote:
> These patches are all closely related, but each fixes a different
> problem, so they each should be in a separate patch.
> These all came out of Vasiliy's report that type='ethernet tap devices
> were all offline and didn't have their IP address or routes added. He
> sent a patch (which was an expanded version of 1/1), and the
> modification to that patch, along with the other two patches, came out
> of my review of his patch.
> Laine Stump (2):
>    qemu: remove unnecessary setting of tap device online state
>    qemu: set tap device online for type='ethernet'
> Vasiliy Tolstov (1):
>    qemu: fix ethernet network type ip/route assign

Okay, I've pushed these three patches so there will be working 
type='ethernet' interfaces in the next release, and I'm working on 
patched that add:

      <link state='down'/>

to allow controlling the link state of the host side of the interface 
(the tap device in qemu, or the host  side of the veth pair in lxc).

Thanks to Vasiliy for the report, patch, reviews, explanations, and idea 
to add host-side link state!

More information about the libvir-list mailing list