Wei Wang
06c48d6b37
qtest/migration-tests.c: use "-incoming defer" for postcopy tests
...
The Postcopy preempt capability is expected to be set before incoming
starts, so change the postcopy tests to start with deferred incoming and
call migrate-incoming after the cap has been set.
Why the existing tests (without this patch) didn't fail?
There could be two reasons:
1) "backlog" specifies the number of pending connections. As long as the
server accepts the connections faster than the clients side connecting,
connection will succeed. For the preempt test, it uses only 2 channels,
so very likely to not have pending connections.
2) per my tests (on kernel 6.2), the number of pending connections allowed
is actually "backlog + 1", which is 2 in this case.
That said, the implementation of socket_start_incoming_migration_internal
expects "migrate defer" to be used, and for safety, change the test to
work with the expected usage.
Signed-off-by: Wei Wang <wei.w.wang@intel.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-ID: <20230606101910.20456-3-wei.w.wang@intel.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2023-07-26 10:55:56 +02:00
..
2023-07-03 12:51:26 +01:00
2023-07-11 09:33:12 +01:00
2023-05-26 09:10:49 +02:00
2022-04-06 14:31:55 +02:00
2022-05-03 15:16:51 +04:00
2021-07-08 14:41:59 -05:00
2023-05-16 09:14:18 +02:00
2022-05-03 15:16:51 +04:00
2023-05-02 10:21:32 +01:00
2022-07-14 16:24:38 +02:00
2022-05-03 09:13:17 -07:00
2022-09-27 20:51:20 +02:00
2022-07-18 13:25:13 +01:00
2023-07-10 18:59:32 -04:00
2023-07-10 18:59:32 -04:00
2023-05-16 09:14:18 +02:00
2023-01-28 06:21:29 -05:00
2022-05-03 15:16:51 +04:00
2023-05-02 10:54:32 +01:00
2023-05-26 09:10:49 +02:00
2021-01-29 15:54:42 +00:00
2021-01-29 15:54:42 +00:00
2021-01-29 15:54:44 +00:00
2022-04-06 14:31:55 +02:00
2023-06-26 09:01:33 +02:00
2023-06-27 17:08:56 +02:00
2022-10-28 14:31:49 +02:00
2022-05-03 15:16:51 +04:00
2023-05-28 13:25:11 -03:00
2023-01-31 09:05:26 +01:00
2023-02-14 09:11:27 +01:00
2022-05-03 15:16:51 +04:00
2022-09-20 11:23:02 +02:00
2023-03-10 17:26:47 +08:00
2022-05-03 15:16:51 +04:00
2021-06-17 07:10:32 -05:00
2022-05-03 15:16:51 +04:00
2023-01-11 10:44:34 +01:00
2022-09-20 11:23:02 +02:00
2023-05-16 09:14:18 +02:00
2022-05-03 15:16:51 +04:00
2023-05-26 09:37:04 +02:00
2022-10-11 12:36:15 +02:00
2022-10-11 12:36:15 +02:00
2022-10-11 12:36:15 +02:00
2022-10-11 12:36:15 +02:00
2022-10-11 12:36:15 +02:00
2022-05-03 15:16:51 +04:00
2023-07-10 18:59:32 -04:00
2022-12-14 16:19:35 +01:00
2022-09-27 20:51:20 +02:00
2023-05-16 09:14:18 +02:00
2023-03-10 17:26:47 +08:00
2022-09-20 12:34:31 +02:00
2022-04-06 14:31:55 +02:00
2021-05-14 12:28:01 +02:00
2022-05-03 15:16:51 +04:00
2022-03-08 18:46:48 +01:00
2023-01-11 10:44:34 +01:00
2023-01-11 10:44:34 +01:00
2022-05-28 11:42:56 +02:00
2022-09-27 20:51:21 +02:00
2023-07-10 15:34:57 +02:00
2023-07-10 15:34:57 +02:00
2022-05-03 15:16:51 +04:00
2022-02-08 10:56:29 +00:00
2022-08-25 15:24:09 +02:00
2022-08-29 15:28:51 +02:00
2021-07-08 14:42:00 -05:00
2022-05-03 15:16:51 +04:00
2023-07-10 22:29:15 +10:00
2023-03-13 15:39:31 +04:00
2023-06-02 11:46:19 +02:00
2023-06-02 11:46:19 +02:00
2023-07-26 10:55:56 +02:00
2022-10-26 14:56:42 -04:00
2022-05-03 15:16:51 +04:00
2023-05-16 09:14:18 +02:00
2022-07-18 13:20:14 +01:00
2022-09-19 15:12:28 +02:00
2020-10-27 11:10:32 +00:00
2023-02-14 09:02:42 +01:00
2022-04-06 14:31:43 +02:00
2022-06-10 14:32:35 +01:00
2022-05-03 15:16:51 +04:00
2020-11-20 13:34:22 +01:00
2022-05-03 15:16:51 +04:00
2022-05-09 11:47:55 +01:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2022-09-27 20:51:21 +02:00
2023-07-07 04:49:06 -03:00
2022-08-29 15:28:51 +02:00
2022-12-14 16:19:35 +01:00
2022-12-14 16:19:35 +01:00
2023-05-02 10:54:32 +01:00
2022-05-03 15:16:51 +04:00
2023-06-26 17:33:00 +02:00
2022-09-27 20:51:21 +02:00
2023-01-26 13:25:07 +01:00
2022-10-07 09:41:51 -04:00
2023-04-20 11:25:32 +02:00
2023-04-20 11:25:32 +02:00
2023-07-10 15:34:57 +02:00
2023-01-11 10:44:34 +01:00
2022-08-25 15:24:09 +02:00
2023-05-26 09:10:49 +02:00
2022-05-03 15:16:51 +04:00
2023-07-10 22:29:15 +10:00
2022-05-03 15:16:51 +04:00
2021-03-08 17:20:03 +00:00
2023-02-27 22:29:01 +01:00
2023-05-16 09:14:18 +02:00
2023-05-16 09:14:18 +02:00
2023-05-02 15:47:40 +01:00
2021-12-22 08:13:05 +01:00
2022-04-06 14:31:55 +02:00
2021-06-17 07:10:32 -05:00
2023-04-20 11:25:32 +02:00
2023-04-20 11:25:32 +02:00
2023-02-06 19:22:56 +01:00
2022-05-03 15:16:51 +04:00
2021-06-03 16:43:27 +01:00
2020-03-05 12:18:33 -05:00
2023-04-20 11:25:32 +02:00
2021-08-31 17:33:11 -04:00
2023-04-20 11:25:32 +02:00
2023-04-20 11:25:32 +02:00
2021-08-31 17:33:11 -04:00
2023-04-20 11:25:32 +02:00
2023-04-20 11:25:32 +02:00
2023-04-20 11:25:32 +02:00
2023-04-20 11:25:32 +02:00
2022-05-03 15:16:51 +04:00
2023-05-26 09:10:49 +02:00
2023-05-26 09:10:49 +02:00
2022-12-15 15:19:24 +01:00
2023-07-10 16:17:08 -04:00
2022-10-24 12:24:32 +02:00
2023-05-16 09:14:18 +02:00
2023-05-22 09:44:48 +02:00
2022-03-06 05:08:23 -05:00
2022-09-27 20:51:21 +02:00
2022-09-27 20:51:21 +02:00
2022-05-12 12:07:06 +02:00
2022-09-27 20:51:20 +02:00
2022-05-03 15:16:51 +04:00
2023-05-02 10:54:32 +01:00
2022-05-03 15:16:51 +04:00
2023-03-13 15:41:32 +04:00
2022-05-03 15:16:51 +04:00
2022-05-03 15:16:51 +04:00
2023-07-06 13:26:43 +01:00