From: Gleb Natapov <g...@redhat.com>

Use qemu_send_packet_raw to send gracious arp. This will ensure that
vnet header is handled properly.

Acked-by: Mark McLoughlin <mar...@redhat.com>
Signed-off-by: Gleb Natapov <g...@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosa...@redhat.com>

diff --git a/savevm.c b/savevm.c
index 27a7686..a6f3556 100644
--- a/savevm.c
+++ b/savevm.c
@@ -132,7 +132,7 @@ static void qemu_announce_self_once(void *opaque)
         len = announce_self_create(buf, nd_table[i].macaddr);
         vlan = nd_table[i].vlan;
         QTAILQ_FOREACH(vc, &vlan->clients, next) {
-            vc->receive(vc, buf, len);
+            qemu_send_packet_raw(vc, buf, len);
         }
     }
     if (count--) {
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to