| str_entry "auto_dump_path"
| bool_entry "auto_dump_bypass_cache"
| bool_entry "auto_start_bypass_cache"
+ | int_entry "auto_start_delay"
let process_entry = str_entry "hugetlbfs_mount"
| str_entry "bridge_helper"
#
#auto_start_bypass_cache = 0
+# Delay in milliseconds between initiating the startup for
+# each VM, during autostart
+#
+#auto_start_delay = 0
+
# If provided by the host and a hugetlbfs mount point is configured,
# a guest may request huge page backing. When this mount point is
# unspecified here, determination of a host mount point in /proc/mounts
return -1;
if (virConfGetValueBool(conf, "auto_start_bypass_cache", &cfg->autoStartBypassCache) < 0)
return -1;
+ if (virConfGetValueUInt(conf, "auto_start_delay", &cfg->autoStartDelayMS) < 0)
+ return -1;
return 0;
}
char *autoDumpPath;
bool autoDumpBypassCache;
bool autoStartBypassCache;
+ unsigned int autoStartDelayMS;
char *lockManagerName;
.stateDir = cfg->stateDir,
.callback = qemuAutostartDomain,
.opaque = qemu_driver,
+ .delayMS = cfg->autoStartDelayMS,
};
virDomainDriverAutoStart(qemu_driver->domains, &autostartCfg);
{ "auto_dump_path" = "/var/lib/libvirt/qemu/dump" }
{ "auto_dump_bypass_cache" = "0" }
{ "auto_start_bypass_cache" = "0" }
+{ "auto_start_delay" = "0" }
{ "hugetlbfs_mount" = "/dev/hugepages" }
{ "bridge_helper" = "qemu-bridge-helper" }
{ "set_process_name" = "1" }