qemu: Change coalesce settings on hotplug when they are different

Part of the condition was reverted so no value update was propagated
through.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1414627

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2017-06-21 09:00:58 +02:00
parent 753b8197f5
commit ff7bae6e4f

View File

@ -3283,8 +3283,8 @@ qemuDomainChangeNet(virQEMUDriverPtr driver,
if (!!olddev->coalesce != !!newdev->coalesce ||
(olddev->coalesce && newdev->coalesce &&
!memcmp(olddev->coalesce, newdev->coalesce,
sizeof(*olddev->coalesce))))
memcmp(olddev->coalesce, newdev->coalesce,
sizeof(*olddev->coalesce))))
needCoalesceChange = true;
/* FINALLY - actually perform the required actions */