]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Eliminate incorrect and unnecessary check for changed IP address
authorVasiliy Tolstov <v.tolstov@selfip.ru>
Sat, 22 Aug 2015 15:33:15 +0000 (15:33 +0000)
committerCole Robinson <crobinso@redhat.com>
Tue, 22 Sep 2015 00:18:02 +0000 (20:18 -0400)
commit77fa00888f5b40b7ba309a3fe346e3dc21424284
treee2e5220c70627aecd19156f2028db00de3d2313d
parent4f4812f8a4e4281770bf86d3c16adbe945a0c654
Eliminate incorrect and unnecessary check for changed IP address

Commit aa2cc7 modified a previously unnecessary but innocuous check
for interface IP address during interface update incorrectly, causing
all attempted updates (e.g. changing link state) to interfaces of
type='ethernet' for QEMU to fail.

This patch fixes the issue by completely removing the check for IP
address, which is pointless since QEMU doesn't support setting
interface IP addresses from the domain interface XML anyway.

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>
Signed-off-by: Laine Stump <laine@laine.org>
(cherry picked from commit bbc705d1309b8ec2eb4cdae011dc702802c96d11)
src/qemu/qemu_hotplug.c