From 68f2cae354c5ebea13c2c4628fb012ad756fd6c9 Mon Sep 17 00:00:00 2001 From: Thanos Makatos Date: Thu, 11 Nov 2021 09:24:51 +0000 Subject: enable options in Valgrind that improve tracking uninit values (#617) These extra options make tracking uninitilized values easier. They make Valgrind run slower so we need to increase the timeouts in the CI. Signed-off-by: Thanos Makatos Reviewed-by: John Levon --- samples/client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'samples/client.c') diff --git a/samples/client.c b/samples/client.c index c492854..6cd065d 100644 --- a/samples/client.c +++ b/samples/client.c @@ -1250,12 +1250,12 @@ int main(int argc, char *argv[]) } /* - * Schedule an interrupt in 3 seconds from now in the old server and then + * Schedule an interrupt in 10 seconds from now in the old server and then * immediatelly migrate the device. The new server should deliver the - * interrupt. Hopefully 3 seconds should be enough for migration to finish. + * interrupt. Hopefully 10 seconds should be enough for migration to finish. * TODO make this value a command line option. */ - t = time(NULL) + 3; + t = time(NULL) + 10; ret = access_region(sock, VFU_PCI_DEV_BAR0_REGION_IDX, true, 0, &t, sizeof(t)); if (ret < 0) { err(EXIT_FAILURE, "failed to write to BAR0"); -- cgit v1.1