aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2021-11-11 09:24:51 +0000
committerGitHub <noreply@github.com>2021-11-11 09:24:51 +0000
commit68f2cae354c5ebea13c2c4628fb012ad756fd6c9 (patch)
treeeddf662dffa1d654b9ce0cc29337a5f910b5276e /samples
parenta9fd732da9458a8113c758471deac63cc3ef1323 (diff)
downloadlibvfio-user-68f2cae354c5ebea13c2c4628fb012ad756fd6c9.zip
libvfio-user-68f2cae354c5ebea13c2c4628fb012ad756fd6c9.tar.gz
libvfio-user-68f2cae354c5ebea13c2c4628fb012ad756fd6c9.tar.bz2
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 <thanos.makatos@nutanix.com> Reviewed-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/client.c6
1 files changed, 3 insertions, 3 deletions
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");