mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
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.
This commit is contained in:
parent
0a71c79a34
commit
b767de4bdf
@ -1018,9 +1018,9 @@ qemuCapsComputeCmdFlags(const char *help,
|
|||||||
|
|
||||||
/* Do not use -no-shutdown if qemu doesn't support it or SIGTERM handling
|
/* 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
|
* 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);
|
qemuCapsSet(flags, QEMU_CAPS_NO_SHUTDOWN);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user