Message ID | 1503965694-10794-67-git-send-email-mdroth@linux.vnet.ibm.com |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 10.140.95.112 with SMTP id h103csp571421qge; Mon, 28 Aug 2017 18:01:01 -0700 (PDT) X-Received: by 10.55.170.134 with SMTP id t128mr3719495qke.230.1503968461927; Mon, 28 Aug 2017 18:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503968461; cv=none; d=google.com; s=arc-20160816; b=UeoSd/Mnav07UJSkf2+2x5zOzjnKlRG+GR0k0L7HAMpoFVsSAqFYbVHH8oe3xV7/hN KnXy+srlFsoXR1QAOHGRy/fz+fjf7Ngw1XTse19QjMIWGCwNhkImXPqjhT0xML0BDrnx ftVzc9nZFjPftRqzgzCWjjz0+VKlI1it5SRx6vMX7Mxj8wc7S0xgh9p33ExfrOh5rS3K B/knjhaROkLmv0jyv1P5ColZtUa5BFFqF+jrpkQ/mdPHzD37UktB+mtswYnD6m8iCilg uavq4bajtS/1GWpl/BJfRmOBsJEZERyaZ5kBdopPnpspbSA2Lbb1DmyZuBbFpfOr0yrz p9Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:message-id:references :in-reply-to:date:to:from:arc-authentication-results; bh=3tEmZ2eBw/7OxnQpoZ2ruSHwife+SIaJ2jT/GCqKbag=; b=Z4gz33sCYpp9jjQ/x+3kJJ/tCXKyOOoB0Bfr3p6UmviNolJHX+3YptgjEo/u+gzTx4 zsQ+j39s0exHjnXwIEkazULXLThcC1ePpikFtAyJoIC8gLZaGxH5N6371zTcvehaOFBh Dq+b9VH3C41v0jzBrVKJ/sXsOQCL9uE2bNUujRts+Lc+T7wjsvlKC36RvhUYrgOXUjLD yZXDFiFDArSowQXfgWRoRRo/YnZzWFcqRUjMOnPbhAj8UdWxUPyTClPvlMZPahnJYdda Hv6F8k/TSE3IZiSEN1QWjKLQMetkIgw6mAvAgnuSG1y7iMpxPLCmkFIZSLlkyC+O/NyZ WcGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id x10si1760944qkx.252.2017.08.28.18.01.01 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 28 Aug 2017 18:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: from localhost ([::1]:42139 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1dmUtn-0007gE-PU for patch@linaro.org; Mon, 28 Aug 2017 21:00:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48866) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mdroth@linux.vnet.ibm.com>) id 1dmUCq-0001kl-VN for qemu-devel@nongnu.org; Mon, 28 Aug 2017 20:16:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mdroth@linux.vnet.ibm.com>) id 1dmUCn-0006A3-OJ for qemu-devel@nongnu.org; Mon, 28 Aug 2017 20:16:36 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:45217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <mdroth@linux.vnet.ibm.com>) id 1dmUCn-00067V-El for qemu-devel@nongnu.org; Mon, 28 Aug 2017 20:16:33 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id v7T0E8Wc041818 for <qemu-devel@nongnu.org>; Mon, 28 Aug 2017 20:16:32 -0400 Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.150]) by mx0a-001b2d01.pphosted.com with ESMTP id 2cmur4vq5b-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for <qemu-devel@nongnu.org>; Mon, 28 Aug 2017 20:16:32 -0400 Received: from localhost by e32.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <qemu-devel@nongnu.org> from <mdroth@linux.vnet.ibm.com>; Mon, 28 Aug 2017 18:16:31 -0600 Received: from b03cxnp07028.gho.boulder.ibm.com (9.17.130.15) by e32.co.us.ibm.com (192.168.1.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 28 Aug 2017 18:16:28 -0600 Received: from b03ledav001.gho.boulder.ibm.com (b03ledav001.gho.boulder.ibm.com [9.17.130.232]) by b03cxnp07028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v7T0GSLn4129216; Mon, 28 Aug 2017 17:16:28 -0700 Received: from b03ledav001.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4B5306E03F; Mon, 28 Aug 2017 18:16:28 -0600 (MDT) Received: from localhost (unknown [9.80.85.217]) by b03ledav001.gho.boulder.ibm.com (Postfix) with ESMTP id 18BA86E03D; Mon, 28 Aug 2017 18:16:28 -0600 (MDT) From: Michael Roth <mdroth@linux.vnet.ibm.com> To: qemu-devel@nongnu.org Date: Mon, 28 Aug 2017 19:14:41 -0500 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503965694-10794-1-git-send-email-mdroth@linux.vnet.ibm.com> References: <1503965694-10794-1-git-send-email-mdroth@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 17082900-0004-0000-0000-000012D6D52D X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007630; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000226; SDB=6.00909028; UDB=6.00455849; IPR=6.00689279; BA=6.00005557; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00016909; XFM=3.00000015; UTC=2017-08-29 00:16:30 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17082900-0005-0000-0000-000080E59EB7 Message-Id: <1503965694-10794-67-git-send-email-mdroth@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2017-08-28_13:, , signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1708290001 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 148.163.156.1 Subject: [Qemu-devel] [PATCH 66/79] hid: Reset kbd modifiers on reset 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: Gerd Hoffmann <kraxel@redhat.com>, qemu-stable@nongnu.org, Alexander Graf <agraf@suse.de> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
None
|
expand
|
diff --git a/hw/input/hid.c b/hw/input/hid.c index fa9cc4c..a0892e8 100644 --- a/hw/input/hid.c +++ b/hw/input/hid.c @@ -483,6 +483,7 @@ void hid_reset(HIDState *hs) memset(hs->kbd.keycodes, 0, sizeof(hs->kbd.keycodes)); memset(hs->kbd.key, 0, sizeof(hs->kbd.key)); hs->kbd.keys = 0; + hs->kbd.modifiers = 0; break; case HID_MOUSE: case HID_TABLET: