]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
kvm tools: Use correct value for user signal base
authorSasha Levin <levinsasha928@gmail.com>
Mon, 30 May 2011 17:27:50 +0000 (20:27 +0300)
committerPekka Enberg <penberg@kernel.org>
Thu, 2 Jun 2011 08:37:38 +0000 (11:37 +0300)
The bug has caused us to exit gracefully when receiving SIGUSR2.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/include/kvm/kvm.h

index f951f2d56230b6c46b7d27b54b132dc7350d6cb5..6a17362fb5525bcf4c3397ed2c08459730af42e8 100644 (file)
@@ -11,7 +11,7 @@
 #define KVM_32BIT_GAP_SIZE     (512 << 20)
 #define KVM_32BIT_GAP_START    ((1ULL << 32) - KVM_32BIT_GAP_SIZE)
 
-#define SIGKVMEXIT             (SIGUSR1 + 2)
+#define SIGKVMEXIT             (SIGRTMIN + 0)
 
 struct kvm {
        int                     sys_fd;         /* For system ioctls(), i.e. /dev/kvm */