]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemu: Relax -no-shutdown check to [0.14.0, 0.15.0]
authorJiri Denemark <jdenemar@redhat.com>
Mon, 17 Oct 2011 10:15:20 +0000 (12:15 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 17 Oct 2011 15:54:26 +0000 (17:54 +0200)
The patch that fixes SIGTERM handling with -no-shutdown was taken into
0.15.1 stable release of qemu.

src/qemu/qemu_capabilities.c

index 8f16a49be6fb66c5bd1a1f2caa12e4c3d942d6af..2f55000a69864ec73713c0fec3d3fcf80c007998 100644 (file)
@@ -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);
 
     /*