[libvirt] libvirt 1.2.16 unable to set link state for ethernet network type
Vasiliy Tolstov
v.tolstov at selfip.ru
Fri Aug 21 00:32:07 UTC 2015
I can't set link state for network=ethernet, in older versions all works fine.
As i see in qemu_hotplug.c:
case VIR_DOMAIN_NET_TYPE_ETHERNET:
if (STRNEQ_NULLABLE(olddev->data.ethernet.dev,
newdev->data.ethernet.dev) ||
olddev->nips == 0 || newdev->nips == 0 ||
!virSocketAddrEqual(&olddev->ips[0]->address,
&newdev->ips[0]->address)) {
needReconnect = true;
}
break;
If needReconnect = true, than i get error in libvirt like "Operation
not supported: unable to change config on 'ethernet' network type"
In my case, i don't change device name and i don't have ip addresses
in xml definition. Whats wrong ?
Thanks for help.
--
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
More information about the libvir-list
mailing list