Received: from eggs.gnu.org ([2001:4830:134:3::10]:35896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZfdb-0007lU-1T for qemu-devel@nongnu.org; Thu, 02 Oct 2014 08:37:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZfdU-0004IC-DN for qemu-devel@nongnu.org; Thu, 02 Oct 2014 08:37:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:15405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZfdU-0004I0-6D for qemu-devel@nongnu.org; Thu, 02 Oct 2014 08:37:32 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s92CbVmx012075 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 2 Oct 2014 08:37:31 -0400 Date: Thu, 2 Oct 2014 09:37:27 -0300 From: Eduardo Habkost Message-ID: <20141002123727.GA4178@thinpad.lan.raisama.net> References: <1412195677-24529-1-git-send-email-ehabkost@redhat.com> <87fvf7rmon.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87fvf7rmon.fsf@blackfin.pond.sub.org> Subject: Re: [Qemu-devel] [PATCH 0/4] qemu-file: Move QEMUFileOps implementations to separate files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Paolo Bonzini , qemu-devel@nongnu.org, Juan Quintela On Thu, Oct 02, 2014 at 08:49:12AM +0200, Markus Armbruster wrote: > Eduardo Habkost writes: > > > With this, code that uses symbols from qemu-file.c don't need to bring extra > > dependencies because of the actual QEMUFile operation implementations. > > Each case of omitting the "extra dependencies" should be visible in > makefiles as "prerequisites include qemu-file.o, but not all > qemu-file-*.o". I can see one: tests/Makefile has just > qemu-file-unix.o, but not qemu-file-stdio.o. Out of curiosity: will > there be more? Yes, tests/test-x86-cpu[1] will only need qemu-file.o. That was the original motivation for this series. [1] See Subject: [PATCH v2 0/7] Target-specific unit test support, add unit tests for target-i386/cpu.c code -- Eduardo