Return-Path: Date: Thu, 4 Dec 2014 18:59:14 +0100 From: Cornelia Huck Subject: Re: [PATCH RFC 3/3] virtio_ccw: rev 1 devices set VIRTIO_F_VERSION_1 Message-ID: <20141204185914.4e989a7a.cornelia.huck@de.ibm.com> In-Reply-To: <1417713984-23771-3-git-send-email-mst@redhat.com> References: <1417713984-23771-1-git-send-email-mst@redhat.com> <1417713984-23771-3-git-send-email-mst@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: "Michael S. Tsirkin" Cc: linux-kernel@vger.kernel.org, Rusty Russell , David Hildenbrand , virtualization@lists.linux-foundation.org, Christian Borntraeger , linux390@de.ibm.com, Martin Schwidefsky , Heiko Carstens , linux-s390@vger.kernel.org List-ID: On Thu, 4 Dec 2014 19:26:50 +0200 "Michael S. Tsirkin" wrote: > What does it mean if rev 1 device does not set > VIRTIO_F_VERSION_1? E.g. is it native endian? > > Let's not even try to drive such devices: > skip attempts to finalize features or set status. Why not set status_failed? > virtio core will detect this and bail out. > > Signed-off-by: Michael S. Tsirkin > --- > drivers/s390/kvm/virtio_ccw.c | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > I'm not sure yet whether I like this approach. I'll think about it over the weekend.