[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC PATCH RDMA support v1: 07/13] introduce capability for
From: |
mrhines |
Subject: |
[Qemu-devel] [RFC PATCH RDMA support v1: 07/13] introduce capability for dynamic chunk registration |
Date: |
Wed, 10 Apr 2013 18:28:15 -0400 |
From: "Michael R. Hines" <address@hidden>
This capability allows you to disable dynamic chunk registration
for better throughput on high-performance links.
It is enabled by default.
Signed-off-by: Michael R. Hines <address@hidden>
---
migration.c | 9 +++++++++
qapi-schema.json | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/migration.c b/migration.c
index 3439629..404c19a 100644
--- a/migration.c
+++ b/migration.c
@@ -477,6 +477,15 @@ void qmp_migrate_set_downtime(double value, Error **errp)
max_downtime = (uint64_t)value;
}
+bool migrate_chunk_register_destination(void)
+{
+ MigrationState *s;
+
+ s = migrate_get_current();
+
+ return
s->enabled_capabilities[MIGRATION_CAPABILITY_CHUNK_REGISTER_DESTINATION];
+}
+
int migrate_use_xbzrle(void)
{
MigrationState *s;
diff --git a/qapi-schema.json b/qapi-schema.json
index db542f6..7fe7e5c 100644
--- a/qapi-schema.json
+++ b/qapi-schema.json
@@ -602,7 +602,7 @@
# Since: 1.2
##
{ 'enum': 'MigrationCapability',
- 'data': ['xbzrle'] }
+ 'data': ['xbzrle', 'chunk_register_destination'] }
##
# @MigrationCapabilityStatus
--
1.7.10.4
- [Qemu-devel] [RFC PATCH RDMA support v7: 00/13] rdma cleanup and reordering, mrhines, 2013/04/10
- [Qemu-devel] [RFC PATCH RDMA support v1: 01/13] introduce qemu_ram_foreach_block(), mrhines, 2013/04/10
- [Qemu-devel] [RFC PATCH RDMA support v1: 05/13] accessor function prototypes for new QEMUFileOps hooks, mrhines, 2013/04/10
- [Qemu-devel] [RFC PATCH RDMA support v1: 06/13] implementation of new QEMUFileOps hooks, mrhines, 2013/04/10
- [Qemu-devel] [RFC PATCH RDMA support v1: 07/13] introduce capability for dynamic chunk registration,
mrhines <=
- [Qemu-devel] [RFC PATCH RDMA support v1: 04/13] update QEMUFileOps with new hooks, mrhines, 2013/04/10
- [Qemu-devel] [RFC PATCH RDMA support v1: 08/13] default chunk registration to true, mrhines, 2013/04/10
- [Qemu-devel] [RFC PATCH RDMA support v1: 10/13] introduce new command migrate_check_for_zero, mrhines, 2013/04/10