From nobody Tue May 7 23:11:40 2024 Delivered-To: importer@patchew.org Received-SPF: temperror (zoho.com: Error in retrieving data from DNS) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1555904626; cv=none; d=zoho.com; s=zohoarc; b=Qywof14OAZqutGXhoeYHceAQTkdsQFtnOl/P1Oofxi7662VWyVzra9l1jZMtnmj6xW29ayG3hcdpYBgk/w9nP4qclU+zXk7HlhrAQaQ+jGzoh8ppqLtVafZdwyR5iej13iEWhOnpsfRilyRy2HHhAdO/ykY4NvjVMD/K2sLZ4rg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555904626; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To:ARC-Authentication-Results; bh=q0jctMQZFKKqPnqr0q44tB9DYOQ48pyAL+pluOJjiNQ=; b=Fpq5AOjcdw+fF4Q1MEOXpa5FU333ZV81rInPOkAWK/j1FJfunkdzV3s4/Hkno4WUbWW/jDH5ivoAudJ93cfRyHXb5NdeK7IXP066k7vasuppEcAujSbr8mWSm5ZMr6qOiDyhTaF4qIyEy7++WvY9dy1brltRU/gl8R4i0OthfJA= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=temperror (zoho.com: Error in retrieving data from DNS) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1555904626122705.7108398715147; Sun, 21 Apr 2019 20:43:46 -0700 (PDT) Received: from localhost ([127.0.0.1]:60095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIPre-0007p8-Cm for importer@patchew.org; Sun, 21 Apr 2019 23:43:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIPql-0007YS-Kx for qemu-devel@nongnu.org; Sun, 21 Apr 2019 23:42:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIPqk-0003kT-Of for qemu-devel@nongnu.org; Sun, 21 Apr 2019 23:42:35 -0400 Received: from pv50p00im-ztdg10011301.me.com ([17.58.6.40]:54072) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hIPqk-0003kA-Io for qemu-devel@nongnu.org; Sun, 21 Apr 2019 23:42:34 -0400 Received: from [172.18.2.102] (unknown [36.106.167.46]) by pv50p00im-ztdg10011301.me.com (Postfix) with ESMTPSA id 638F4640054; Mon, 22 Apr 2019 03:42:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=04042017; t=1555904552; bh=q0jctMQZFKKqPnqr0q44tB9DYOQ48pyAL+pluOJjiNQ=; h=From:Content-Type:Mime-Version:Subject:Message-Id:Date:To; b=YVctx1dgHavsIiqY9bianXPBN6iCggJspKUvlVEmAs4n12k5F53nT7JXoylBLzbvh NIcZpllI3rXYQFz+qV/FTOgHIfLEQC7W6CgZvcfT70swdF3hajbSZew3z5V9AXGqzq Ykw5OcK3psbEFD0/ity8q7Q9L4B+KZo2NMiNHXbBmPIGYoZHADTBRsSpq52palLt+V hhyB/x0qC9P9scqVtAKGtEtdXWGJS6YxizyREN/EydzzQ5rCKKX86Pjnpd4UzRvVec iR0wUUsrvmEb6rLt9C3r0diKuz2MfLmEUaX9mSJnseZay3CODdHNWVKx5QEX0WM5BB mh2GwF573+6+A== Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Message-Id: <087F1D9C-109D-41D1-BE2C-CE5D840C981B@me.com> Date: Mon, 22 Apr 2019 11:42:25 +0800 To: Paolo Bonzini , Richard Henderson , Eduardo Habkost X-Mailer: Apple Mail (2.3445.102.3) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-21_08:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 mlxscore=0 mlxlogscore=682 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1812120000 definitions=main-1904220025 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 17.58.6.40 Subject: [Qemu-devel] [PATCH] hvf: Add missing break statement X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Chen Zhang via Qemu-devel Reply-To: Chen Zhang Cc: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" In target/i386/hvf/hvf.c, a break statement was probably missing in `hvf_vc= pu_exec()`, in handling EXIT_REASON_HLT. These lines seemed to be equivalent to `kvm_handle_halt()`. Signed-off-by: Chen Zhang Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- target/i386/hvf/hvf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/i386/hvf/hvf.c b/target/i386/hvf/hvf.c index 42f9447303..2751c8125c 100644 --- a/target/i386/hvf/hvf.c +++ b/target/i386/hvf/hvf.c @@ -708,6 +708,7 @@ int hvf_vcpu_exec(CPUState *cpu) !(idtvec_info & VMCS_IDT_VEC_VALID)) { cpu->halted =3D 1; ret =3D EXCP_HLT; + break; } ret =3D EXCP_INTERRUPT; break; --=20 2.21.0