From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZQbx-0006r8-EU for qemu-devel@nongnu.org; Wed, 01 Oct 2014 16:35:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZQbr-0006RU-A2 for qemu-devel@nongnu.org; Wed, 01 Oct 2014 16:34:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18492) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZQbr-0006RJ-3a for qemu-devel@nongnu.org; Wed, 01 Oct 2014 16:34:51 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s91KYns1003774 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Wed, 1 Oct 2014 16:34:49 -0400 From: Eduardo Habkost Date: Wed, 1 Oct 2014 17:34:33 -0300 Message-Id: <1412195677-24529-1-git-send-email-ehabkost@redhat.com> Subject: [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: qemu-devel@nongnu.org, Juan Quintela Cc: Paolo Bonzini With this, code that uses symbols from qemu-file.c don't need to bring extra dependencies because of the actual QEMUFile operation implementations. Eduardo Habkost (4): qemu-file: Make qemu_file_is_writable() non-static qemu-file: Use qemu_file_is_writable() on stdio_fclose() qemu-file: Move unix and socket implementations to qemu-file-unix.c qemu-file: Move stdio implementation to qemu-file-stdio.c Makefile.objs | 2 +- include/migration/qemu-file.h | 1 + qemu-file-stdio.c | 194 ++++++++++++++++++++++ qemu-file-unix.c | 223 ++++++++++++++++++++++++++ qemu-file.c | 365 +----------------------------------------- tests/Makefile | 2 +- 6 files changed, 421 insertions(+), 366 deletions(-) create mode 100644 qemu-file-stdio.c create mode 100644 qemu-file-unix.c -- 1.9.3