qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 10/12] new header file prot


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [RFC PATCH RDMA support v5: 10/12] new header file prototypes for savevm.c
Date: Tue, 09 Apr 2013 18:43:13 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4

Il 09/04/2013 05:04, address@hidden ha scritto:
> From: "Michael R. Hines" <address@hidden>
> 
> 
> Signed-off-by: Michael R. Hines <address@hidden>
> ---
>  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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]