[libvirt] [PATCH v2 10/73] qemu: Move qemuMigrationCompression struct

Ján Tomko jtomko at redhat.com
Fri Apr 13 09:58:23 UTC 2018


On Wed, Apr 11, 2018 at 04:41:00PM +0200, Jiri Denemark wrote:
>It provides just another view on some migration parameters so let's move
>it close to them. The end goal is to merge compression parameters with
>the rest of migration parameters since it doesn't make any sense to
>handle them differently.
>
>Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>---
> src/qemu/qemu_migration.h        | 20 +-------------------
> src/qemu/qemu_migration_params.h | 19 +++++++++++++++++++
> 2 files changed, 20 insertions(+), 19 deletions(-)
>
>diff --git a/src/qemu/qemu_migration_params.h b/src/qemu/qemu_migration_params.h
>index f11315cb9d..bb38d34cd6 100644
>--- a/src/qemu/qemu_migration_params.h
>+++ b/src/qemu/qemu_migration_params.h
>@@ -28,6 +28,25 @@
> # include "qemu_conf.h"
>
>
>+typedef struct _qemuMigrationCompression qemuMigrationCompression;
>+typedef qemuMigrationCompression *qemuMigrationCompressionPtr;
>+struct _qemuMigrationCompression {
>+    unsigned long long methods;
>+
>+    bool level_set;
>+    int level;
>+
>+    bool threads_set;
>+    int threads;
>+
>+    bool dthreads_set;
>+    int dthreads;
>+
>+    bool xbzrle_cache_set;
>+    unsigned long long xbzrle_cache;

I'm still impressed by your ability to pronounce this [0]

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano

[0] https://tools.ietf.org/html/rfc5513#section-2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180413/5d2ce680/attachment-0001.sig>


More information about the libvir-list mailing list