[libvirt] set link state for ethernet network devices

Vasiliy Tolstov v.tolstov at selfip.ru
Wed May 10 08:58:28 UTC 2017


Hi! Sometimes ago i'm write patch for setting link state of network
interface for ethernet type (tap).
Now i'm try libvirt 3.3.0 and see, that  tap interfaces is up but in
xml i'm try to specify
<link state='down'>
also i'm try
<source><link state='down'></source>
Nothing changed. Laine says, that link state is only for internal
representation, and to modify link state on host side i need to
specify <source><link state='down'></source>.

For history please check email thread "qemu: remove unnecessary
setting of tap device online state"

So does this bug or it my mistake?
Thanks!

-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru




More information about the libvir-list mailing list