From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9uMz-0007BR-9o for qemu-devel@nongnu.org; Sun, 02 Feb 2014 05:33:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9uMy-0006FT-Es for qemu-devel@nongnu.org; Sun, 02 Feb 2014 05:33:45 -0500 Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]:51784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9uMy-0006FN-9e for qemu-devel@nongnu.org; Sun, 02 Feb 2014 05:33:44 -0500 Received: by mail-ob0-f176.google.com with SMTP id gq1so6779745obb.35 for ; Sun, 02 Feb 2014 02:33:43 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <52EE14CE.4030707@redhat.com> References: <52EE14CE.4030707@redhat.com> Date: Sun, 2 Feb 2014 14:33:43 +0400 Message-ID: From: Max Filippov Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] NetClientInfo::can_receive change notification and its purpose List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel , Stefan Hajnoczi , Anthony Liguori On Sun, Feb 2, 2014 at 1:50 PM, Paolo Bonzini wrote: > Il 02/02/2014 02:47, Max Filippov ha scritto: > >> Hello, >> >> is there any way to notify networking core that adapter's >> NetClientInfo::can_receive return value is about to change from 0 to 1? > > Yes, qemu_flush_queued_packets. > > See commit e8b4c68 (e1000: flush queue whenever can_receive can go from > false to true, 2012-08-09). Thanks Paolo! -- Max