[libvirt] [PATCH] qemu: allow to control host side link status of network device

Vasiliy Tolstov v.tolstov at selfip.ru
Tue May 16 07:28:27 UTC 2017


2017-05-16 9:32 GMT+03:00 Peter Krempa <pkrempa at redhat.com>:
> 3.3.2? We dropped micro versions some time ago.
>

This is copy/paste from link element, sorry.

>> +    </p>
>> +
>>      <h5><a name="mtu">MTU configuration</a></h5>
>>  <pre>
>
>
> There already is an element called <link> with attribute "state" which
> modifies the link state in qemu. So that maps to guest link state. So
> this patch has a naming collision going on.

Yes, but some times ago Laine Stump says that for host side link
status we can use source element with link state.

>
> I also don't really see how modifying the host side link state would be
> useful. Could you elaborate why you think it would be useful?

OSPF - tap device have addresses assigned to it and bird/quagga create
routing based on interface link status and addresses on device.
So if i have host side device in up state no matter that have guest -
host system forward traffic to it. So i need to modify host side link
status too.

>
> At any rate, if you provide a justification, you also need to modify the
> XML portion to have a separate element and provide a test case as it's
> required with XML changes.
>
>

Can you gave me example test for xml changes?

Thanks!


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




More information about the libvir-list mailing list