From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rusty Russell Subject: Re: [PATCH] virtio-spec: clarify ro/rw bits and updating rule of virtio-net status field Date: Thu, 22 Mar 2012 15:00:22 +1030 Message-ID: <87aa399s0x.fsf@rustcorp.com.au> References: <20120320062020.12815.61342.stgit@jason-ThinkPad-T400> <87ty1jpm6p.fsf@rustcorp.com.au> <20120320224805.GA4997@redhat.com> <87ty1ializ.fsf@rustcorp.com.au> <20120321063746.GA6773@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120321063746.GA6773@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, Christian Borntraeger , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org List-Id: virtualization@lists.linuxfoundation.org On Wed, 21 Mar 2012 08:37:46 +0200, "Michael S. Tsirkin" wrote: > Ah. Right, we need to trap for host to clear the bit. > OK, so let's make the bit RO, and add > VIRTIO_NET_CTRL_ANNOUNCED to acknowledge that we've > seen VIRTIO_NET_S_ANNOUNCE using the control VQ? Thanks, that's nice. Guest should send arp packets first, then send VIRTIO_NET_CTRL_ANNOUNCED, and ignore the bit being set in the meantime. Thanks, Rusty. -- How could I marry someone with more hair than me? http://baldalex.org From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031127Ab2CVV3Z (ORCPT ); Thu, 22 Mar 2012 17:29:25 -0400 Received: from ozlabs.org ([203.10.76.45]:60272 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031055Ab2CVV3V (ORCPT ); Thu, 22 Mar 2012 17:29:21 -0400 From: Rusty Russell To: "Michael S. Tsirkin" Cc: Jason Wang , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, qemu-devel@nongnu.org, Christian Borntraeger Subject: Re: [PATCH] virtio-spec: clarify ro/rw bits and updating rule of virtio-net status field In-Reply-To: <20120321063746.GA6773@redhat.com> References: <20120320062020.12815.61342.stgit@jason-ThinkPad-T400> <87ty1jpm6p.fsf@rustcorp.com.au> <20120320224805.GA4997@redhat.com> <87ty1ializ.fsf@rustcorp.com.au> <20120321063746.GA6773@redhat.com> User-Agent: Notmuch/0.6.1-1 (http://notmuchmail.org) Emacs/23.3.1 (i686-pc-linux-gnu) Date: Thu, 22 Mar 2012 15:00:22 +1030 Message-ID: <87aa399s0x.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Mar 2012 08:37:46 +0200, "Michael S. Tsirkin" wrote: > Ah. Right, we need to trap for host to clear the bit. > OK, so let's make the bit RO, and add > VIRTIO_NET_CTRL_ANNOUNCED to acknowledge that we've > seen VIRTIO_NET_S_ANNOUNCE using the control VQ? Thanks, that's nice. Guest should send arp packets first, then send VIRTIO_NET_CTRL_ANNOUNCED, and ignore the bit being set in the meantime. Thanks, Rusty. -- How could I marry someone with more hair than me? http://baldalex.org From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54177) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SApZW-0000Da-Ky for qemu-devel@nongnu.org; Thu, 22 Mar 2012 17:29:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SApZU-0007fu-OH for qemu-devel@nongnu.org; Thu, 22 Mar 2012 17:29:26 -0400 Received: from ozlabs.org ([203.10.76.45]:57643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SApZU-0007fa-BK for qemu-devel@nongnu.org; Thu, 22 Mar 2012 17:29:24 -0400 From: Rusty Russell In-Reply-To: <20120321063746.GA6773@redhat.com> References: <20120320062020.12815.61342.stgit@jason-ThinkPad-T400> <87ty1jpm6p.fsf@rustcorp.com.au> <20120320224805.GA4997@redhat.com> <87ty1ializ.fsf@rustcorp.com.au> <20120321063746.GA6773@redhat.com> Date: Thu, 22 Mar 2012 15:00:22 +1030 Message-ID: <87aa399s0x.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH] virtio-spec: clarify ro/rw bits and updating rule of virtio-net status field List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org, Christian Borntraeger , Jason Wang , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org On Wed, 21 Mar 2012 08:37:46 +0200, "Michael S. Tsirkin" wrote: > Ah. Right, we need to trap for host to clear the bit. > OK, so let's make the bit RO, and add > VIRTIO_NET_CTRL_ANNOUNCED to acknowledge that we've > seen VIRTIO_NET_S_ANNOUNCE using the control VQ? Thanks, that's nice. Guest should send arp packets first, then send VIRTIO_NET_CTRL_ANNOUNCED, and ignore the bit being set in the meantime. Thanks, Rusty. -- How could I marry someone with more hair than me? http://baldalex.org