libvirt 1.2.16 unable to set link state for ethernet network type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]