Received: from eggs.gnu.org ([2001:4830:134:3::10]:51728) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZMYU-000240-Mw for qemu-devel@nongnu.org; Wed, 01 Oct 2014 12:15:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZMYO-0001HX-Jl for qemu-devel@nongnu.org; Wed, 01 Oct 2014 12:15:06 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZMYO-0001HH-CH for qemu-devel@nongnu.org; Wed, 01 Oct 2014 12:15:00 -0400 Date: Wed, 1 Oct 2014 13:14:55 -0300 From: Eduardo Habkost Message-ID: <20141001161455.GF3113@thinpad.lan.raisama.net> References: <1412101566-23669-1-git-send-email-ehabkost@redhat.com> <1412101566-23669-2-git-send-email-ehabkost@redhat.com> <542B2C0E.60708@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <542B2C0E.60708@redhat.com> Subject: Re: [Qemu-devel] [PATCH v2 1/7] tests: Move fake yield_until_fd_readable() to coroutine-stub.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Igor Mammedov , qemu-devel@nongnu.org, Andreas =?iso-8859-1?Q?F=E4rber?= On Wed, Oct 01, 2014 at 12:17:50AM +0200, Paolo Bonzini wrote: > Il 30/09/2014 20:26, Eduardo Habkost ha scritto: > > Other test code will use the function. > > > > Signed-off-by: Eduardo Habkost > > --- > > tests/Makefile | 1 + > > tests/coroutine-stub.c | 13 +++++++++++++ > > tests/test-vmstate.c | 11 ----------- > > 3 files changed, 14 insertions(+), 11 deletions(-) > > create mode 100644 tests/coroutine-stub.c > > Should we split qemu-file.c instead? Splitting qemu-file.c won't avoid the need for a fake yield_until_fd_readable() for test-vmstate.c, but will probably help reduce cpu.c dependencies. I will give it a try. -- Eduardo