From patchwork Thu Oct 15 07:33:12 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 53952 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9F7hC2G000331 for ; Thu, 15 Oct 2009 07:43:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757679AbZJOHdm (ORCPT ); Thu, 15 Oct 2009 03:33:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757636AbZJOHdm (ORCPT ); Thu, 15 Oct 2009 03:33:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4433 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757644AbZJOHdk (ORCPT ); Thu, 15 Oct 2009 03:33:40 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9F7XEf6032029 for ; Thu, 15 Oct 2009 03:33:14 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9F7XDqS028702; Thu, 15 Oct 2009 03:33:13 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id A61A218D410; Thu, 15 Oct 2009 09:33:12 +0200 (IST) Date: Thu, 15 Oct 2009 09:33:12 +0200 From: Gleb Natapov To: Mark McLoughlin Cc: avi@redhat.com, kvm@vger.kernel.org Subject: Re: Add qemu_send_raw() to vlan. Message-ID: <20091015073312.GC30889@redhat.com> References: <20090526100302.GS3948@redhat.com> <1255590285.2726.27.camel@blaa> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1255590285.2726.27.camel@blaa> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/savevm.c b/savevm.c index 7a363b6..8ea2daf 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; for(vc = vlan->first_client; vc != NULL; vc = vc->next) { - vc->receive(vc, buf, len); + qemu_send_packet_raw(vc, buf, len); } } if (count--) {