Re: [PATCH v21 8/9] migration-test: Export migration-test util funtions

2022-03-31 Thread Hyman
在 2022/3/30 2:54, Peter Xu 写道: On Wed, Mar 16, 2022 at 09:07:20PM +0800, huang...@chinatelecom.cn wrote: +void wait_for_serial(const char *tmpfs, const char *side) Passing over tmpfs over and over (even if it's mostly a constant) doesn't sound appealing to me.. I hope there's still a way t

Re: [PATCH v21 8/9] migration-test: Export migration-test util funtions

2022-03-29 Thread Peter Xu
On Wed, Mar 16, 2022 at 09:07:20PM +0800, huang...@chinatelecom.cn wrote: > +void wait_for_serial(const char *tmpfs, const char *side) Passing over tmpfs over and over (even if it's mostly a constant) doesn't sound appealing to me.. I hope there's still a way that we could avoid doing that when s

[PATCH v21 8/9] migration-test: Export migration-test util funtions

2022-03-16 Thread huangy81
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 | 87 ++ tests/qtest/migration-helpers.