在 2022/3/16 12:09, Peter Xu 写道:
On Wed, Mar 16, 2022 at 10:21:38AM +0800, huang...@chinatelecom.cn wrote:
+void cleanup(const char *filename)
+{
+g_autofree char *path = g_strdup_printf("%s/%s", tmpfs, filename);
+
+unlink(path);
+}
If to move most of these tmpfs helpers out anyway,
On Wed, Mar 16, 2022 at 10:21:38AM +0800, huang...@chinatelecom.cn wrote:
> +void cleanup(const char *filename)
> +{
> +g_autofree char *path = g_strdup_printf("%s/%s", tmpfs, filename);
> +
> +unlink(path);
> +}
If to move most of these tmpfs helpers out anyway, shouldn't we also move
all
From: Hyman Huang(黄勇)
Dirtylimit qtest can reuse the mechanisms that have been
implemented by migration-test to start a vm, so export the
relevant util functions.
Signed-off-by: Hyman Huang(黄勇)
---
tests/qtest/migration-helpers.c | 95 +
tests/qtest/migrati