[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v15 02/14] fixup! migration: New QAPI type 'MigrateAddress'
|
From: |
Fabiano Rosas |
|
Subject: |
[PATCH v15 02/14] fixup! migration: New QAPI type 'MigrateAddress' |
|
Date: |
Mon, 23 Oct 2023 15:20:41 -0300 |
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
---
qapi/migration.json | 20 ++++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/qapi/migration.json b/qapi/migration.json
index c352c7ac52..abebe23523 100644
--- a/qapi/migration.json
+++ b/qapi/migration.json
@@ -1519,10 +1519,25 @@
#
# @rdma: Migrate via RDMA.
#
+# @file: Direct the migration stream to a file.
+#
# Since 8.2
##
{ 'enum': 'MigrationAddressType',
- 'data': ['socket', 'exec', 'rdma'] }
+ 'data': [ 'socket', 'exec', 'rdma', 'file' ] }
+
+##
+# @FileMigrationArgs:
+#
+# @filename: The file to receive the migration stream
+#
+# @offset: The file offset where the migration stream will start
+#
+# Since 8.2
+##
+{ 'struct': 'FileMigrationArgs',
+ 'data': { 'filename': 'str',
+ 'offset': 'uint64' } }
##
# @MigrationExecCommand:
@@ -1547,7 +1562,8 @@
'data': {
'socket': 'SocketAddress',
'exec': 'MigrationExecCommand',
- 'rdma': 'InetSocketAddress' } }
+ 'rdma': 'InetSocketAddress',
+ 'file': 'FileMigrationArgs' } }
##
# @migrate:
--
2.35.3
- [PATCH v15 00/14] migration: Modify 'migrate' and 'migrate-incoming' QAPI commands for migration, Fabiano Rosas, 2023/10/23
- [PATCH v15 01/14] migration: New QAPI type 'MigrateAddress', Fabiano Rosas, 2023/10/23
- [PATCH v15 02/14] fixup! migration: New QAPI type 'MigrateAddress',
Fabiano Rosas <=
- [PATCH v15 03/14] migration: convert migration 'uri' into 'MigrateAddress', Fabiano Rosas, 2023/10/23
- [PATCH v15 04/14] fixup! migration: convert migration 'uri' into 'MigrateAddress', Fabiano Rosas, 2023/10/23
- [PATCH v15 05/14] migration: convert socket backend to accept MigrateAddress, Fabiano Rosas, 2023/10/23
- [PATCH v15 06/14] migration: convert rdma backend to accept MigrateAddress, Fabiano Rosas, 2023/10/23