summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortracey <tracey@cvs.openbsd.org>2021-01-07 17:11:39 +0000
committertracey <tracey@cvs.openbsd.org>2021-01-07 17:11:39 +0000
commit605ab05564c21b356fdc864c48f23df24c7c5ce4 (patch)
tree09b95c1457284358c7ef6baa808564748555c75a
parenta55b90d8e5a6407a3202daa2dade87f2eb264632 (diff)
bump VM shutdown event timeout ok mlarkin@ stsp@ florian@
VMs with addition package daemons were not given enough time to shutdown gracefully.
-rw-r--r--usr.sbin/vmd/virtio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/vmd/virtio.h b/usr.sbin/vmd/virtio.h
index 9a64973ab99..1672cca267c 100644
--- a/usr.sbin/vmd/virtio.h
+++ b/usr.sbin/vmd/virtio.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: virtio.h,v 1.35 2019/12/11 06:45:16 pd Exp $ */
+/* $OpenBSD: virtio.h,v 1.36 2021/01/07 17:11:38 tracey Exp $ */
/*
* Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
@@ -38,7 +38,7 @@
/* VMM Control Interface shutdown timeout (in seconds) */
#define VMMCI_TIMEOUT 3
-#define VMMCI_SHUTDOWN_TIMEOUT 30
+#define VMMCI_SHUTDOWN_TIMEOUT 120
/* All the devices we support have either 1, 2 or 3 queues */
/* viornd - 1 queue