From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPbeA-0007gV-Fu for qemu-devel@nongnu.org; Tue, 09 Apr 2013 12:43:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UPbe9-0000mN-91 for qemu-devel@nongnu.org; Tue, 09 Apr 2013 12:43:50 -0400 Received: from mx1.redhat.com ([209.132.183.28]:22969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UPbe9-0000mD-0N for qemu-devel@nongnu.org; Tue, 09 Apr 2013 12:43:49 -0400 Message-ID: <51644521.7090705@redhat.com> Date: Tue, 09 Apr 2013 18:43:13 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1365476681-31593-1-git-send-email-mrhines@linux.vnet.ibm.com> <1365476681-31593-11-git-send-email-mrhines@linux.vnet.ibm.com> In-Reply-To: <1365476681-31593-11-git-send-email-mrhines@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC PATCH RDMA support v5: 10/12] new header file prototypes for savevm.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mrhines@linux.vnet.ibm.com Cc: aliguori@us.ibm.com, mst@redhat.com, qemu-devel@nongnu.org, owasserm@redhat.com, abali@us.ibm.com, mrhines@us.ibm.com, gokul@us.ibm.com Il 09/04/2013 05:04, mrhines@linux.vnet.ibm.com ha scritto: > From: "Michael R. Hines" > > > Signed-off-by: Michael R. Hines > --- > include/migration/migration.h | 3 +++ > include/migration/qemu-file.h | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/include/migration/migration.h b/include/migration/migration.h > index e2acec6..40de049 100644 > --- a/include/migration/migration.h > +++ b/include/migration/migration.h > @@ -127,4 +127,7 @@ int migrate_use_xbzrle(void); > int64_t migrate_xbzrle_cache_size(void); > > int64_t xbzrle_cache_resize(int64_t new_size); > + > +bool migrate_check_for_zero(void); > +bool migrate_chunk_register_destination(void); > #endif > diff --git a/include/migration/qemu-file.h b/include/migration/qemu-file.h > index 623c434..4ee0ed2 100644 > --- a/include/migration/qemu-file.h > +++ b/include/migration/qemu-file.h > @@ -80,6 +80,9 @@ void qemu_put_byte(QEMUFile *f, int v); > * The buffer should be available till it is sent asynchronously. > */ > void qemu_put_buffer_async(QEMUFile *f, const uint8_t *buf, int size); > +void *qemu_file_ops_are(QEMUFile *f, const QEMUFileOps *ops); > +bool qemu_file_mode_is_not_valid(const char * mode); > +void qemu_file_update_position(QEMUFile *f, int64_t inc); > > static inline void qemu_put_ubyte(QEMUFile *f, unsigned int v) > { > This should be placed together with the patch that adds them (and in turn the patch that adds them should be before the patch that uses them). Paolo