[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 07/29] migration: Run "file:" migration with a stopped VM
From: |
Fabiano Rosas |
Subject: |
[PATCH v2 07/29] migration: Run "file:" migration with a stopped VM |
Date: |
Mon, 23 Oct 2023 17:35:46 -0300 |
The file migration is asynchronous, so it benefits from being done
with a stopped VM. Allow the file migration to take benefit of the
auto-pause capability.
Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
migration/migration.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/migration/migration.c b/migration/migration.c
index 8b0c3b0911..692fbc5ad6 100644
--- a/migration/migration.c
+++ b/migration/migration.c
@@ -135,6 +135,10 @@ static bool migration_should_pause(const char *uri)
* migration.
*/
+ if (strstart(uri, "file:", NULL)) {
+ return true;
+ }
+
return false;
}
--
2.35.3
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, (continued)
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Daniel P . Berrangé, 2023/10/25
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Fabiano Rosas, 2023/10/25
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Daniel P . Berrangé, 2023/10/25
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Peter Xu, 2023/10/25
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Daniel P . Berrangé, 2023/10/25
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Peter Xu, 2023/10/25
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Daniel P . Berrangé, 2023/10/25
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Peter Xu, 2023/10/25
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Daniel P . Berrangé, 2023/10/25
- Re: [PATCH v2 06/29] migration: Add auto-pause capability, Peter Xu, 2023/10/25
[PATCH v2 07/29] migration: Run "file:" migration with a stopped VM,
Fabiano Rosas <=
[PATCH v2 08/29] tests/qtest: File migration auto-pause tests, Fabiano Rosas, 2023/10/23
[PATCH v2 09/29] io: add and implement QIO_CHANNEL_FEATURE_SEEKABLE for channel file, Fabiano Rosas, 2023/10/23
[PATCH v2 10/29] io: Add generic pwritev/preadv interface, Fabiano Rosas, 2023/10/23
[PATCH v2 11/29] io: implement io_pwritev/preadv for QIOChannelFile, Fabiano Rosas, 2023/10/23
[PATCH v2 12/29] migration/qemu-file: add utility methods for working with seekable channels, Fabiano Rosas, 2023/10/23
[PATCH v2 13/29] migration: fixed-ram: Add URI compatibility check, Fabiano Rosas, 2023/10/23