From patchwork Fri Oct 19 09:36:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julien Thierry X-Patchwork-Id: 10648917 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1E0CD13B0 for ; Fri, 19 Oct 2018 09:36:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 09CFC28A8B for ; Fri, 19 Oct 2018 09:36:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ECAE028A4A; Fri, 19 Oct 2018 09:36:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98EAE28A4A for ; Fri, 19 Oct 2018 09:36:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726935AbeJSRmD (ORCPT ); Fri, 19 Oct 2018 13:42:03 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:49570 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726609AbeJSRmD (ORCPT ); Fri, 19 Oct 2018 13:42:03 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6565A80D; Fri, 19 Oct 2018 02:36:45 -0700 (PDT) Received: from e112298-lin.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 70B653F5D3; Fri, 19 Oct 2018 02:36:44 -0700 (PDT) From: Julien Thierry To: kvmarm@lists.cs.columbia.edu Cc: kvm@vger.kernel.org, will.deacon@arm.com, Julien Thierry Subject: [PATCH kvmtool 0/2] Fix kvm__pause races Date: Fri, 19 Oct 2018 10:36:29 +0100 Message-Id: <1539941791-40118-1-git-send-email-julien.thierry@arm.com> X-Mailer: git-send-email 1.9.1 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi, Here are some fixes for potential races I found in the pause/resume code. Cheers, Julien --> Julien Thierry (2): kvm: Do not pause already paused vcpus kvm-cpu: Pause vCPU in signal handler kvm-cpu.c | 17 ++++++++++++----- kvm.c | 5 ++++- 2 files changed, 16 insertions(+), 6 deletions(-) --- 1.9.1