Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NsG4K-0007KD-1w for qemu-devel@nongnu.org; Thu, 18 Mar 2010 09:47:24 -0400 Received: from [199.232.76.173] (port=60458 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NsG4J-0007K2-Nz for qemu-devel@nongnu.org; Thu, 18 Mar 2010 09:47:23 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NsG4I-0004la-IQ for qemu-devel@nongnu.org; Thu, 18 Mar 2010 09:47:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6158) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NsG4I-0004lW-3d for qemu-devel@nongnu.org; Thu, 18 Mar 2010 09:47:22 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o2IDlLU4031962 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 18 Mar 2010 09:47:21 -0400 From: Juan Quintela In-Reply-To: <20100318132445.GA27478@redhat.com> (Michael S. Tsirkin's message of "Thu, 18 Mar 2010 15:24:45 +0200") References: <20100318072529.GB16973@redhat.com> <20100318084707.GA23649@redhat.com> <20100318091106.GC23649@redhat.com> <20100318132445.GA27478@redhat.com> Date: Thu, 18 Mar 2010 14:47:19 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH 6/9] virtio-pci: Remove duplicate test List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org "Michael S. Tsirkin" wrote: >> It makes my vmstate work more complex, because this is the only user >> that calls a vvnmstat* and uses _nothing_ of it. >> >> rest of users are something like: >> >> VMSTATE(...., test_function); >> >> on the caller side. As virtio already needs to know msix use for other >> reasons, I really expect that anything else that uses msix would need >> the same test for the same reason. >> >> Later, Juan. > > > Well, ok. If you add assumptions about callers please add a comment > before function thought, Yeap, thanks. Later, Juan.