Received: by 10.192.165.148 with SMTP id m20csp2222200imm; Thu, 3 May 2018 12:29:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpD4D+1np7E6BN83Mpa899cDpg8PpOb/XOp4sZfGbT55S2Chnc2/0LREyjC1vcW07AYW0/W X-Received: by 2002:a17:902:2f43:: with SMTP id s61-v6mr24531126plb.99.1525375744422; Thu, 03 May 2018 12:29:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525375744; cv=none; d=google.com; s=arc-20160816; b=gpjQr726fZ1sMDLxfDuFL/IIZFFRVByjOhCfQQQ2iXEMLv9/8rQxCOP/yf1awMKT5C dy8ocUYF8GW4REhBBRpL3jR7qoxVBQL59amdTyDJtUfr8wjfpVbFAynzRvV9FvXSAAnl /1uRUUaZbVyXrMED6mpi6IjVCN9fEHDTIyjRs/hBJr0RN4SVBSwqP14d49u8Iop4879d tci2CP+PnORQLVI4oni2xtUKwataYm4eRwqOqcxQ7//BhdGNLNletahcU/V5NZPnrtWJ pUGjXh0jGOCJbtT6OrlYybRQu9EVsgKzskc8L8Haa8wnAc2P/2ktYzP9Cc/lH4NIbO06 iBHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=6shUN1+gCJjg0eJDuX2f1aCr0hZOV/T3neK4/6Y0pL0=; b=mjUiQj048iCoZBsvLRLtA3G3PkmyqvoH0c5hTv8qlh0BlfTgRHK2NPjMjACV3c2H2y qmazHxAPAAtwyQLIDi1rxjoBzpTKUsunfBgX3AsU8t0VaGB0sfomlZmePjFYYAjtUB9w 4gn73EpdSk6/5PZsKIjf0FbpJd5kPno7mxvBbbd4c4V3No4neLp8koyDDW97ePa1VRAW pAMt1t4glsXWBX8dlketvEN29xqzqtqgc+gJJUi9UPoxPQC1CVJV8iFp9U4r9M5zxk9h k1Wdyk+xatG678//gWknmFrZjD1xQvhpQed+Hm3d6os3qxg5ZQwP4VWpjL2hmEm/PZpz BzXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q6-v6si11886261pgp.258.2018.05.03.12.28.50; Thu, 03 May 2018 12:29:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751326AbeECT2h (ORCPT + 99 others); Thu, 3 May 2018 15:28:37 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:45834 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751054AbeECT2e (ORCPT ); Thu, 3 May 2018 15:28:34 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6F2F7406F88F; Thu, 3 May 2018 19:28:33 +0000 (UTC) Received: from redhat.com (ovpn-122-8.rdu2.redhat.com [10.10.122.8]) by smtp.corp.redhat.com (Postfix) with SMTP id 5135983B87; Thu, 3 May 2018 19:28:32 +0000 (UTC) Date: Thu, 3 May 2018 22:28:32 +0300 From: "Michael S. Tsirkin" To: Amit Shah Cc: linux-kernel@vger.kernel.org, Amit Shah , Arnd Bergmann , Greg Kroah-Hartman , virtualization@lists.linux-foundation.org, stable@vger.kernel.org, Tiwei Bie , Jason Wang Subject: Re: [PATCH 0/6] virtio-console: spec compliance fixes Message-ID: <20180503222702-mutt-send-email-mst@kernel.org> References: <1524248223-393618-1-git-send-email-mst@redhat.com> <20180424214104-mutt-send-email-mst@kernel.org> <20180503034529.GA16676@grmbl.mre> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180503034529.GA16676@grmbl.mre> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 03 May 2018 19:28:33 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Thu, 03 May 2018 19:28:33 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'mst@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 03, 2018 at 05:45:29AM +0200, Amit Shah wrote: > (apologies if you received a dup) > > On (Tue) 24 Apr 2018 [21:41:29], Michael S. Tsirkin wrote: > > On Fri, Apr 20, 2018 at 09:17:59PM +0300, Michael S. Tsirkin wrote: > > > Turns out virtio console tries to take a buffer out of an active vq. > > > Works by sheer luck, and is explicitly forbidden by spec. And while > > > going over it I saw that error handling is also broken - > > > failure is easy to trigger if I force allocations to fail. > > > > > > Lightly tested. > > > > Amit - any feedback before I push these patches? > > The changes look good spec-wise. > > There are a bunch of tests in avocado-vt that test virtio-console > functionality. Can you give those a try before pushing? > > Amit I pushed before I did that test, will try to find the time later. BTW do you still want to be on the maintainers list? > -- > http://amitshah.net/