mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
libxl: Increase device model startup timeout to 1min.
On a busy host, QEMU may take more than 10s to load and start. This is likely due to a bug in Linux where the I/O subsystem sometime produce high latency under load and result in QEMU taking a long time to load every single dynamic libraries. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> (cherry picked from commit9acfbe14d7) Conflicts: tools/libxl/libxl_internal.h (cherry picked from commitbbbd29a25d)
This commit is contained in:
1 parent
213e243819
commit
fe66a76a2d
1 file changed
+3
-1
@@ -83,7 +83,9 @@
|
||||
#define LIBXL_INIT_TIMEOUT 10
|
||||
#define LIBXL_DESTROY_TIMEOUT 10
|
||||
#define LIBXL_HOTPLUG_TIMEOUT 10
|
||||
#define LIBXL_DEVICE_MODEL_START_TIMEOUT 10
|
||||
/* QEMU may be slow to load and start due to a bug in Linux where the I/O
|
||||
* subsystem sometime produce high latency under load. */
|
||||
#define LIBXL_DEVICE_MODEL_START_TIMEOUT 60
|
||||
#define LIBXL_QEMU_BODGE_TIMEOUT 2
|
||||
#define LIBXL_XENCONSOLE_LIMIT 1048576
|
||||
#define LIBXL_XENCONSOLE_PROTOCOL "vt100"
|
||||
|
||||