diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2021-01-28 15:12:38 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-28 15:12:38 +0000 |
commit | df2e7e2eb66ff21d3089a941c697d8faf94c9734 (patch) | |
tree | b08977d5caeaa9586ab799214c660fbf5cd3b219 /samples | |
parent | 73ede8cbd486c2bfab2f7b293c6090e022910ced (diff) | |
download | libvfio-user-df2e7e2eb66ff21d3089a941c697d8faf94c9734.zip libvfio-user-df2e7e2eb66ff21d3089a941c697d8faf94c9734.tar.gz libvfio-user-df2e7e2eb66ff21d3089a941c697d8faf94c9734.tar.bz2 |
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 <thanos.makatos@nutanix.com>
Diffstat (limited to 'samples')
-rw-r--r-- | samples/client.c | 3 |
1 files changed, 0 insertions, 3 deletions
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. * |