From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [Qemu-devel] [PATCH 3/5] s390: Add new channel I/O based virtio transport. Date: Thu, 9 Aug 2012 09:21:03 +0200 Message-ID: <20120809092103.4317b357@BR9GNB5Z> References: <1344351173-2716-1-git-send-email-cornelia.huck@de.ibm.com> <1344351173-2716-4-git-send-email-cornelia.huck@de.ibm.com> <20120808102820.799d3d9a@BR9GNB5Z> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: KVM , linux-s390 , qemu-devel , Carsten Otte , Anthony Liguori , Rusty Russell , Sebastian Ott , Marcelo Tosatti , Heiko Carstens , Alexander Graf , Christian Borntraeger , Avi Kivity , Martin Schwidefsky To: Blue Swirl Return-path: Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:53352 "EHLO e06smtp16.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755656Ab2HIHVM (ORCPT ); Thu, 9 Aug 2012 03:21:12 -0400 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 9 Aug 2012 08:21:10 +0100 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Wed, 8 Aug 2012 19:03:14 +0000 Blue Swirl wrote: > >> > +struct vq_info_block { > >> > + uint64_t queue; > >> > + uint16_t num; > >> > +} QEMU_PACKED; > >> > + > >> > +struct vq_config_block { > >> > + uint16_t index; > >> > + uint16_t num; > >> > +} QEMU_PACKED; > >> > >> Aren't these KVM structures? They should be defined in a KVM header > >> file file in linux-headers. > > > > Not really, virtio-ccw isn't tied to kvm. > > > > I see this more as command blocks that are specific to the "control > > unit" - like something that would be defined in an attachment > > specification for a classic s390 device (and in the virtio spec in this > > case) and modeled as C structures here. > > OK. Then please use CamelCase for these too. > OK.