Message ID | 1499263324-15184-13-git-send-email-anton.nefedov@virtuozzo.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D523560317 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 5 Jul 2017 14:04:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B9BBB1FF61 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 5 Jul 2017 14:04:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACEB828417; Wed, 5 Jul 2017 14:04:19 +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=-6.8 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 114961FF61 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 5 Jul 2017 14:04:19 +0000 (UTC) Received: from localhost ([::1]:46388 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1dSkug-0004x2-9G for patchwork-qemu-devel@patchwork.kernel.org; Wed, 05 Jul 2017 10:04:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44961) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <anton.nefedov@virtuozzo.com>) id 1dSkt9-0004t6-UA for qemu-devel@nongnu.org; Wed, 05 Jul 2017 10:02:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <anton.nefedov@virtuozzo.com>) id 1dSkt5-0007tP-71 for qemu-devel@nongnu.org; Wed, 05 Jul 2017 10:02:44 -0400 Received: from mail-eopbgr30096.outbound.protection.outlook.com ([40.107.3.96]:45373 helo=EUR03-AM5-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <anton.nefedov@virtuozzo.com>) id 1dSkt4-0007qA-TV for qemu-devel@nongnu.org; Wed, 05 Jul 2017 10:02:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuozzo.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=OH5SzFbMVcULo90EKPPvcqqJfAI7nVkpAeMJCMnZh0Q=; b=I0bBFFZGh4CAz2e0IT6lAbNqu0Cst67bdlCE8nNIk3x+O8uLiJD4YvuxA3t1/es77ZheUl3BGAvWAfEBYjr/N1pAyl0SYbTUOko+05jr9tNQKy2d3+SF/Xol76AXj+RkqChstZ1KuW8lwb/7c23tgyWjkLlwzIp++kctdpVv4Zs= Authentication-Results: nongnu.org; dkim=none (message not signed) header.d=none; nongnu.org; dmarc=none action=none header.from=virtuozzo.com; Received: from xantnef-ws.sw.ru (195.214.232.6) by HE1PR0801MB1996.eurprd08.prod.outlook.com (2603:10a6:3:50::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Wed, 5 Jul 2017 14:02:36 +0000 From: Anton Nefedov <anton.nefedov@virtuozzo.com> To: qemu-devel@nongnu.org Date: Wed, 5 Jul 2017 17:02:03 +0300 Message-ID: <1499263324-15184-13-git-send-email-anton.nefedov@virtuozzo.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499263324-15184-1-git-send-email-anton.nefedov@virtuozzo.com> References: <1499263324-15184-1-git-send-email-anton.nefedov@virtuozzo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [195.214.232.6] X-ClientProxiedBy: DB6PR02CA0007.eurprd02.prod.outlook.com (2603:10a6:6:15::20) To HE1PR0801MB1996.eurprd08.prod.outlook.com (2603:10a6:3:50::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2894f80f-7bf8-42fd-14a3-08d4c3ae7e73 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:HE1PR0801MB1996; X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1996; 3:Ef4SLOkZ/LzthzCJRAHrJrolEw1g4xrKVZrLR5hJZ2CvHFyFVJcUVg96T9a8RS9ytVv51YK5UxIdwXF09okwMcyBOW4R4uKg+0xU1ScAWll1U+cbSDmfikdMVjCb1/EZuERUSSbkytVvgnRSL7UyI2uiyJAY/1arskb71S7ErWyeR0zaZArm0XOcWyv4deSsrIyA5hi6sRFUikpPr3cnD6qYDQiiOuMqQtrhrDNrmcj2eSp/3VwZp/9+qmSZaV8B3iyf98mrQtZMrwPrKj83Bf4p9QVtaNYzWhpm8lZwE2X+ZPEb7snrjd7tloU4gyCsz/Frjd8TABiim1AXhe/ESKwIhr7mfzUZSWyopQwCMGCplbyqlljRaQ+Ksju0R5XnFF+I1beEstAm00/n6sWcNxfTnm7atm22FN/vL8IoIOgIZGcEoiSWU54PXM/GUp58ybw/jjRfu0vwi2U+JWj2DaQP2e/PlAUIcSJWltHXpiSZWnUshJ8LWIhkp7FQjLChVQwPJPqLbCG1eHFQ3HhK9LyBLYNzoi8HVKk47+/HaJQYUOy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eGlQB5YTdIVrC2LWRBATFLIN483jX2hoB9/o72djxOC3J8AM14pNWxWLyOm6paHCWmGi29g/BKEkE8iv6Vh3yXB+l1Y7n6CuftPlefEaE1nIE8Xwc0AXDcQmEkpCkr4OX8voe97qrctl7aCjC+o3PIWWG3XQuWfOXLBwUFqYqdmzOE/k+exiL1G7ztjb3IQOZ6MUZSNUHo6hdz7wBY7m2LngKSxcuaaZYhGUPo87SBeXEf7lc16Cg= X-Microsoft-Antispam-PRVS: <HE1PR0801MB1996554F578BF59E87742089F8D40@HE1PR0801MB1996.eurprd08.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(236129657087228)(167848164394848); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6041248)(20161123560025)(20161123558100)(20161123562025)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:HE1PR0801MB1996; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:HE1PR0801MB1996; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0801MB1996; 4:NF6APjZRDmUgYZgOYlaChWwPl1Wil2orH0NDW4r4?= =?us-ascii?Q?xYifr798424WnPvTBcUg70U1g32AEs/Ar2HmA9EtDdt02Iqn7vH+DzjsNhxe?= =?us-ascii?Q?i7tHNsyNZNqoXq2w96AljaV87wqNWmmYAW7a7GiawtnSGzX6k1rDMiRLWVRB?= =?us-ascii?Q?NAoFN/llDda/NFTQ8zmLd+DZdmNPbEtqt6OXFNLz/5zTVya9Ys/D3O35qNos?= =?us-ascii?Q?AEal9uZexA9+OG0m7UNqkanw/E64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Q?cK/6FJt6syaun8KdWa7lc1bWrWdrShZDqrl4Ymt4RV8nc/lKrqpgtpzKi6U1?= =?us-ascii?Q?cyCfoVR5PONJCrjojvw3tojXHSdzcbvsMMI9enFagWQu/DDmJy6C+dZq1Q?= =?us-ascii?Q?=3D=3D?= X-Forefront-PRVS: 0359162B6D X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39450400003)(39840400002)(39400400002)(39410400002)(6116002)(575784001)(3846002)(8676002)(2950100002)(2361001)(6666003)(33646002)(2351001)(53936002)(86362001)(2906002)(38730400002)(107886003)(110136004)(50226002)(42186005)(6512007)(81166006)(4326008)(25786009)(50986999)(478600001)(189998001)(2870700001)(76176999)(5660300001)(6506006)(6486002)(66066001)(50466002)(36756003)(23676002)(7736002)(6916009)(47776003)(305945005)(15650500001)(53416004); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1PR0801MB1996; H:xantnef-ws.sw.ru; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0801MB1996; 23:88+W3vl9Vc3J27jGiO3iOdvMffz5Z64F3lbb23O?= =?us-ascii?Q?bD5retaxic+XEKpwJt7BildF66AEBSfLLtdQZYN8OpTa/FlOpRjZ+A8H02KJ?= =?us-ascii?Q?2WH1vAl0GNuPWvPSqtTX48oKkZDgb/pDW4FnFqi/yCmS3wnyDBXmzWcHc+Sc?= =?us-ascii?Q?j6Db1N9PQB7jbC18tM3pL9EluWloILbTYR/DJKuYxNJeMVv84A8MsoHbLQFW?= =?us-ascii?Q?VWOwUETlFS6Yoh3n9hsz/vgPYJPyNPm75vF1pRrKXuxbvKve/l8KSIMxeI33?= =?us-ascii?Q?hOmuBWlqgLPGenOIlyv+jjtClAKy0j5P9DXnhJsm8w2yKmQSZE9NGy6KcAIe?= =?us-ascii?Q?ebl1SvD6mMWO219K6q0pU8dJ3Y0KTni6vJP3piJrDDIqH4QFT3gDzGolU/Fz?= =?us-ascii?Q?U4Eb7ISjWloBs7WD2W7cHxz9w8iBysD23bC/0CqF1fkMMlJ0uursqDF/5krp?= =?us-ascii?Q?RxmfDiIYVR2kbDSa/Cg/BJD9j5umNPQr3pLTdZNMyTYtC9bZbaXuwhzSB4jS?= =?us-ascii?Q?9R1fzMxamquHp5IfJ+qKs1TgHqd9p826HkHHMlA/8TTbAWwztpIIzIntYHAt?= =?us-ascii?Q?H6JojBC9z9IBq7B7hH22diaRXm/Zwk8MZzRogfC8FCBpVCtyMIclsCIlbFc3?= =?us-ascii?Q?tyH0MDFtKkcqNodf5VLMNS1VHrC+VKpCX59BM7iNlqgxtcUsbx9LbsnFRHUM?= =?us-ascii?Q?r03j7xnO2ixx7eGZR8GVrxcHzJ8rWziYpFXa5sTibT263AGFdZ0U4EVSkygM?= =?us-ascii?Q?RoaE0fvf4bUWt/Pk7ai/EdBSP9+8q1ek+UEvs6+D12fXEjMpN+ur3Nz4syZ1?= =?us-ascii?Q?fs2UP4e7PvxSa1UVYZzDFFK++rur0oZNV3fVDHLxwgzWe6jI/KsBBBPxF122?= =?us-ascii?Q?QEGyxEzqhyGYJYjJ0punHLk8+IB7eQluAootG1dtkCKMHPf5fahksex4FS3Z?= =?us-ascii?Q?pBtSkGp421h+s72nptiyRaTrUKXtSOLIYclPGuh4y1AaBLGPOLakhzIZTcKW?= =?us-ascii?Q?mqyaRPTb9E4637VFtUoAJCFzPEH4Vs0sr/dhOI2Xv3RShwMHkZKwambl7DOf?= =?us-ascii?Q?WC8QJmR19LqAQwrRN0D3tohAQKkNBv4wst7fejXYWqTLoAx8z1oz6tc+ZIwv?= =?us-ascii?Q?TE6/LYJFSpoE=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HE1PR0801MB1996; 6:JCednzfco0leUrd2QZcql7SEuC4s9pEQJDM/3HDG?= =?us-ascii?Q?EBH0JSoVHpFwQt7rCOu2/E8CBoV34PiiaHtl+iBljXHwdhFzSFRzyY4OSbjM?= =?us-asc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Sg150u7G3hWP7L0c/SS797RLmKOUJoBqyAO2ImZpbOfCCy7HyY/hQaDaVCc74ISxoJ1PTgY8e0wyUzHrCn8c438Fq0BLqhLb4MQZg6OxQOk/Ih/w1IMu1zUVTwQoAyK3l0sFls/2v4aQ8Pjqmpn6xD/doc53Tp1uJlzaKdGlrowdF3k0m06Z2TL4eZX2N94cXMkcQo7FwIa5t5beQHIN6hkhOn6OFimJdTae+pmrFa0XOUhtizR/jEpd3gRS+YYb+RLuIeiJnKnNxJSfOXn26A5JB3S+9UORgz6FSAFTMKdNmScWS6qzD0qmAUFQ1p21ApwaG5zCfDrnX/eMmWNk8awGeRn89BgOUU21AjxxxpDFqgEAW8BX1J1WIM+0nXbnBgjf6X9bS6OJxXZ+qTDAxQ4DdCljHlj2JBcA6iM3b4f7dJjRKWGHT+Oc/52Ina44vDW9iE/VaK1bzbGaZGEKIQxR37uxszMMQJZOxFoi9c+PndL9BNvw1tvejm71PrA1MIlQH/iuRcn4= X-Microsoft-Exchange-Diagnostics: 1; HE1PR0801MB1996; 20:XwR6P4vpIt+FumsnRaLXavg9O59HOftcmdW8tacUnBy47YR7jO9lkWR+mXqTVCp9l+4piN4aWtC7SKrYcztUrBIL/+FdXJn6ZxUMvahLhZx5lGJbPSjxU+Hs7MkKS5iaqrm8y5m4p9HC3zSoUXDzkinjDv0CwtNHy0J+5VHZhvk= X-OriginatorOrg: virtuozzo.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2017 14:02:36.7091 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0801MB1996 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 40.107.3.96 Subject: [Qemu-devel] [PATCH v5 12/13] serial: move TIOCM update to a separate function 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: Anton Nefedov <anton.nefedov@virtuozzo.com>, den@virtuozzo.com, amit@kernel.org, mst@redhat.com, marcandre.lureau@redhat.com, pbonzini@redhat.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/hw/char/serial.c b/hw/char/serial.c index ab14ca4..e47f0b6 100644 --- a/hw/char/serial.c +++ b/hw/char/serial.c @@ -312,6 +312,24 @@ static void serial_write_fcr(SerialState *s, uint8_t val) } } +static void serial_update_tiocm(SerialState *s) +{ + int flags; + + qemu_chr_fe_ioctl(&s->chr, CHR_IOCTL_SERIAL_GET_TIOCM, &flags); + + flags &= ~(CHR_TIOCM_RTS | CHR_TIOCM_DTR); + + if (s->mcr & UART_MCR_RTS) { + flags |= CHR_TIOCM_RTS; + } + if (s->mcr & UART_MCR_DTR) { + flags |= CHR_TIOCM_DTR; + } + + qemu_chr_fe_ioctl(&s->chr, CHR_IOCTL_SERIAL_SET_TIOCM, &flags); +} + static void serial_ioport_write(void *opaque, hwaddr addr, uint64_t val, unsigned size) { @@ -426,24 +444,13 @@ static void serial_ioport_write(void *opaque, hwaddr addr, uint64_t val, break; case 4: { - int flags; int old_mcr = s->mcr; s->mcr = val & 0x1f; if (val & UART_MCR_LOOP) break; if (s->poll_msl >= 0 && old_mcr != s->mcr) { - - qemu_chr_fe_ioctl(&s->chr, CHR_IOCTL_SERIAL_GET_TIOCM, &flags); - - flags &= ~(CHR_TIOCM_RTS | CHR_TIOCM_DTR); - - if (val & UART_MCR_RTS) - flags |= CHR_TIOCM_RTS; - if (val & UART_MCR_DTR) - flags |= CHR_TIOCM_DTR; - - qemu_chr_fe_ioctl(&s->chr, CHR_IOCTL_SERIAL_SET_TIOCM, &flags); + serial_update_tiocm(s); /* Update the modem status after a one-character-send wait-time, since there may be a response from the device/computer at the other end of the serial line */ timer_mod(s->modem_status_poll, qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL) + s->char_transmit_time);