Message ID | 20180723201748.25573-55-mdroth@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=linux.vnet.ibm.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="YQTJPmPJ"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41ZDN42pygz9s3Z for <incoming@patchwork.ozlabs.org>; Tue, 24 Jul 2018 06:57:56 +1000 (AEST) Received: from localhost ([::1]:36564 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fhhty-0000xC-1e for incoming@patchwork.ozlabs.org; Mon, 23 Jul 2018 16:57:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <flukshun@gmail.com>) id 1fhhJl-0002y1-Hs for qemu-devel@nongnu.org; Mon, 23 Jul 2018 16:20:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <flukshun@gmail.com>) id 1fhhJk-0004k1-Mr for qemu-devel@nongnu.org; Mon, 23 Jul 2018 16:20:29 -0400 Received: from mail-oi0-x243.google.com ([2607:f8b0:4003:c06::243]:38990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <flukshun@gmail.com>) id 1fhhJk-0004jc-HC; Mon, 23 Jul 2018 16:20:28 -0400 Received: by mail-oi0-x243.google.com with SMTP id d189-v6so3482790oib.6; Mon, 23 Jul 2018 13:20:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=B2Xe/MYL9HdquHUy7rdn5+WCA/XvHWA8evaGwtKwy6M=; b=YQTJPmPJuMuAJcWdrj82sZDuQVdERMC7LRsDv0J3Y3hnJz16ZkBsPOzZWiWMnSJ0Oi puJanFB+FddhJzV1q/hy37SPYNJ+8wf7GIYXtGPHHZQ7pSqth767+ngMDjRpI1BsgX4a 4UCv8oKv3Ll6RM1xgZuA1wzW7zwO678hUBN+uK8S9/EP7I8Y80HH8GNtrsE6VrOwy0D9 v+nYZxaGW/EE/qPp//hvjS4L+Pdz87zQUPa1u7zve4nD95R5321wrir948V189RQXSD8 AYqtRALOFkh4m8XJUsVoWGOITZAWxA2i8HnyinEc5VI+AqNidTTwn5RDeWDdWAoU1vud aHeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=B2Xe/MYL9HdquHUy7rdn5+WCA/XvHWA8evaGwtKwy6M=; b=cHhKf9ys49O8TWnJfc1bUhfmEOWS0jLLWDRvXWxuUQY+74BVTfMx6w0XQQ4/+XIht7 BpOvwHOH+K+e56WX+v46bicily3iqhkkXIlesnBw5u5WWe9KmM0yfe7oPLyny5VqOb8z 55zKzcHsJY8e48bcpnq5SbvVcZlN5OBIvKKbcyvWRG7eZuiCAg66VCf40ZmOZpzAUA4g eDuEpwRrFpOp5l4GB64dYfMiMjxQ9qIva/V7PxHX06O3Lk6zSW2HbfDpHLSugayIAOty QxYtRONMzH7PP8KnkRQbcKsp2XaCiS+EECZGHOzvG0slSKCAp9fJz+YJR/GdFTBeWN6A UIoQ== X-Gm-Message-State: AOUpUlE8ijna86VTg/qvWMcDk/YCHh+Hl2bJdUtKEGloccxYgM1tqcor ueiPK/65lP85g3RP8jltPg4s5ZvycFo= X-Google-Smtp-Source: AAOMgpeHiopESvv1Tx3eFsHTtqOm8BO7aK6oIJVTLXb2HcokR5mPCNulKg8S2aQs70MSgCRhq7wtlQ== X-Received: by 2002:aca:b702:: with SMTP id h2-v6mr326185oif.66.1532377227408; Mon, 23 Jul 2018 13:20:27 -0700 (PDT) Received: from localhost (76-251-165-188.lightspeed.austtx.sbcglobal.net. [76.251.165.188]) by smtp.gmail.com with ESMTPSA id d5-v6sm7175889oia.57.2018.07.23.13.20.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Jul 2018 13:20:26 -0700 (PDT) From: Michael Roth <mdroth@linux.vnet.ibm.com> To: qemu-devel@nongnu.org Date: Mon, 23 Jul 2018 15:17:03 -0500 Message-Id: <20180723201748.25573-55-mdroth@linux.vnet.ibm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180723201748.25573-1-mdroth@linux.vnet.ibm.com> References: <20180723201748.25573-1-mdroth@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::243 Subject: [Qemu-devel] [PATCH 54/99] cpus: tcg: fix never exiting loop on unplug X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Paolo Bonzini <pbonzini@redhat.com>, qemu-stable@nongnu.org, =?utf-8?q?C=C3=A9dric_Le_Goater?= <clg@kaod.org> Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
Patch Round-up for stable 2.12.1, freeze on 2018-07-30
|
expand
|
diff --git a/cpus.c b/cpus.c index 38eba8bff3..e1d94038fd 100644 --- a/cpus.c +++ b/cpus.c @@ -1648,7 +1648,7 @@ static void *qemu_tcg_cpu_thread_fn(void *arg) /* process any pending work */ cpu->exit_request = 1; - while (1) { + do { if (cpu_can_run(cpu)) { int r; qemu_mutex_unlock_iothread();