From patchwork Mon May 30 17:27:50 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sasha Levin X-Patchwork-Id: 830632 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4UHTDF4025677 for ; Mon, 30 May 2011 17:29:13 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757475Ab1E3R3J (ORCPT ); Mon, 30 May 2011 13:29:09 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:37720 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757346Ab1E3R3I (ORCPT ); Mon, 30 May 2011 13:29:08 -0400 Received: by wwa36 with SMTP id 36so4095837wwa.1 for ; Mon, 30 May 2011 10:29:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=xqlhharr04d3Rn17hyMuBcAEttpK0uB3JqQdkm2fjig=; b=GJDhkkkW1wmNluoh1oRKOXhVu0WzeQfqOHi8VnV8EObzv/Rn0ix+eYH18zRC+G+2ev vkjUEJoTz91jYKhZujO+bP1igBvA8jh2ipPGt0lLjFySLNEp49foH2FQ6orTTXoUyXWP er2Y9PPdRA++XhTKxPH267TNR6AQ10J/GldOw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=B1UO953bmKhB5jju8nX1VT9c+Pl3hmuUhIVSJdwa82an+AGnnUAkvJjQzpAqzW2+pl YEHtpE+Gx2seeidyytczi1uvRBO5oaHZBpwgGwzEFHw+b36wCQNUNQhzYRaZ6xIp4dHb 6be/0tkekKfoSMFTTU+wfj1C0964gtOUA+4Po= Received: by 10.227.204.148 with SMTP id fm20mr3091732wbb.38.1306776547286; Mon, 30 May 2011 10:29:07 -0700 (PDT) Received: from localhost.localdomain (bzq-79-181-201-100.red.bezeqint.net [79.181.201.100]) by mx.google.com with ESMTPS id gb6sm3194848wbb.17.2011.05.30.10.29.04 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 May 2011 10:29:06 -0700 (PDT) From: Sasha Levin To: penberg@kernel.org Cc: kvm@vger.kernel.org, mingo@elte.hu, asias.hejun@gmail.com, gorcunov@gmail.com, prasadjoshi124@gmail.com, Sasha Levin Subject: [PATCH v3 1/8] kvm tools: Use correct value for user signal base Date: Mon, 30 May 2011 20:27:50 +0300 Message-Id: <1306776478-29613-1-git-send-email-levinsasha928@gmail.com> X-Mailer: git-send-email 1.7.5.3 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Mon, 30 May 2011 17:29:13 +0000 (UTC) The bug has caused us to exit gracefully when receiving SIGUSR2. Signed-off-by: Sasha Levin --- tools/kvm/include/kvm/kvm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/kvm/include/kvm/kvm.h b/tools/kvm/include/kvm/kvm.h index f951f2d..6a17362 100644 --- a/tools/kvm/include/kvm/kvm.h +++ b/tools/kvm/include/kvm/kvm.h @@ -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 */