From df2e7e2eb66ff21d3089a941c697d8faf94c9734 Mon Sep 17 00:00:00 2001 From: Thanos Makatos Date: Thu, 28 Jan 2021 15:12:38 +0000 Subject: client/server: don't sleep for fake guest thread (#275) The fake guest thread unconditionally performs the first iteration, so there's no need to give it time to do stuff. Signed-off-by: Thanos Makatos --- samples/client.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'samples/client.c') diff --git a/samples/client.c b/samples/client.c index f32a060..b6a4853 100644 --- a/samples/client.c +++ b/samples/client.c @@ -866,9 +866,6 @@ migrate_from(int sock, int migr_reg_index, size_t *nr_iters, err(EXIT_FAILURE, "failed to create pthread"); } - /* give fake guest a chance to write something */ - usleep(1000); - /* * TODO The server generates migration data while it's in pre-copy state. * -- cgit v1.1