提交 b767de4b 编写于 作者: J Jiri Denemark

qemu: Relax -no-shutdown check to [0.14.0, 0.15.0]

The patch that fixes SIGTERM handling with -no-shutdown was taken into
0.15.1 stable release of qemu.
上级 0a71c79a
......@@ -1018,9 +1018,9 @@ qemuCapsComputeCmdFlags(const char *help,
/* Do not use -no-shutdown if qemu doesn't support it or SIGTERM handling
* is most likely buggy when used with -no-shutdown (which applies for qemu
* 0.14.* and <0.15.50)
* 0.14.* and 0.15.0)
*/
if (strstr(help, "-no-shutdown") && (version < 14000 || version >= 15050))
if (strstr(help, "-no-shutdown") && (version < 14000 || version > 15000))
qemuCapsSet(flags, QEMU_CAPS_NO_SHUTDOWN);
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册