From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gEDbQ-0006rz-8x for qemu-devel@nongnu.org; Sun, 21 Oct 2018 09:17:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gEDbN-00076r-4G for qemu-devel@nongnu.org; Sun, 21 Oct 2018 09:17:08 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:35193) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gEDbM-00076e-Tg for qemu-devel@nongnu.org; Sun, 21 Oct 2018 09:17:05 -0400 Received: by mail-wr1-x436.google.com with SMTP id w5-v6so41980719wrt.2 for ; Sun, 21 Oct 2018 06:17:04 -0700 (PDT) References: <20181019010625.25294-1-cota@braap.org> <20181019010625.25294-26-cota@braap.org> From: Richard Henderson Message-ID: Date: Sun, 21 Oct 2018 14:17:01 +0100 MIME-Version: 1.0 In-Reply-To: <20181019010625.25294-26-cota@braap.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC v3 25/56] exec: use cpu_reset_interrupt List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" , qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson , Peter Crosthwaite On 10/19/18 2:05 AM, Emilio G. Cota wrote: > - cpu->interrupt_request &= ~0x01; > + cpu_reset_interrupt(cpu, ~0x01); cpu_reset_interrupt(cpu, 1); Although this is during vmload, and I'm not sure what locks you really want to play with here. Perhaps it's ok... r~