summary refs log tree commit diff stats
path: root/migration/qemu-file.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2023-10-11 22:35:18 +0200
committerJuan Quintela <quintela@redhat.com>2023-10-17 09:25:13 +0200
commitf6d6c089b78a6492416408b93a799edecfd736d6 (patch)
tree5daecf7b6b96ac11576347f0274bf2edf2fe3ba1 /migration/qemu-file.h
parent5f5b8858dc1c11916000a5a2038044dec31640d6 (diff)
downloadfocaccia-qemu-f6d6c089b78a6492416408b93a799edecfd736d6.tar.gz
focaccia-qemu-f6d6c089b78a6492416408b93a799edecfd736d6.zip
migration/rdma: Remove all uses of RAM_CONTROL_HOOK
Instead of going through ram_control_load_hook(), call
qemu_rdma_registration_handle() directly.

Reviewed-by: Li Zhijian <lizhijian@fujitsu.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20231011203527.9061-5-quintela@redhat.com>
Diffstat (limited to 'migration/qemu-file.h')
-rw-r--r--migration/qemu-file.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/migration/qemu-file.h b/migration/qemu-file.h
index 35e671a01e..14ff0d9cc4 100644
--- a/migration/qemu-file.h
+++ b/migration/qemu-file.h
@@ -41,7 +41,6 @@ typedef int (QEMURamHookFunc)(QEMUFile *f, uint64_t flags, void *data);
  */
 #define RAM_CONTROL_SETUP     0
 #define RAM_CONTROL_ROUND     1
-#define RAM_CONTROL_HOOK      2
 #define RAM_CONTROL_FINISH    3
 #define RAM_CONTROL_BLOCK_REG 4