aboutsummaryrefslogtreecommitdiff
path: root/migration/multifd-uadk.c
diff options
context:
space:
mode:
authorShameer Kolothum <shameerali.kolothum.thodi@huawei.com>2024-06-07 14:53:06 +0100
committerFabiano Rosas <farosas@suse.de>2024-06-14 14:01:29 -0300
commitf3d8bb759d13a2e33389f00fa338d0761309029a (patch)
tree80f0161bdaf37eaafa263cc376d0aa055714df71 /migration/multifd-uadk.c
parentcfc589a89b31930d9d658f4b0b6c4e6f33280e10 (diff)
downloadqemu-f3d8bb759d13a2e33389f00fa338d0761309029a.zip
qemu-f3d8bb759d13a2e33389f00fa338d0761309029a.tar.gz
qemu-f3d8bb759d13a2e33389f00fa338d0761309029a.tar.bz2
migration/multifd: add uadk compression framework
Adds the skeleton to support uadk compression method. Complete functionality will be added in subsequent patches. Acked-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Fabiano Rosas <farosas@suse.de> Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Reviewed-by: Zhangfei Gao <zhangfei.gao@linaro.org> Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'migration/multifd-uadk.c')
-rw-r--r--migration/multifd-uadk.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/migration/multifd-uadk.c b/migration/multifd-uadk.c
new file mode 100644
index 0000000..c2bb075
--- /dev/null
+++ b/migration/multifd-uadk.c
@@ -0,0 +1,20 @@
+/*
+ * Multifd UADK compression accelerator implementation
+ *
+ * Copyright (c) 2024 Huawei Technologies R & D (UK) Ltd
+ *
+ * Authors:
+ * Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2 or later.
+ * See the COPYING file in the top-level directory.
+ */
+
+#include "qemu/osdep.h"
+#include "qemu/module.h"
+
+static void multifd_uadk_register(void)
+{
+ /* noop for now */
+}
+migration_init(multifd_uadk_register);