From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Borntraeger Subject: Re: [PATCH 3/4] s390/kvm: Add a channel I/O based virtio transport driver. Date: Wed, 15 Aug 2012 09:48:44 +0200 Message-ID: <502B545C.8000904@de.ibm.com> References: <1344351168-2568-1-git-send-email-cornelia.huck@de.ibm.com> <1344351168-2568-4-git-send-email-cornelia.huck@de.ibm.com> <87fw7ps0x4.fsf@codemonkey.ws> <878vdgr4v2.fsf@rustcorp.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Anthony Liguori , Cornelia Huck , KVM , linux-s390 , qemu-devel , Avi Kivity , Marcelo Tosatti , Carsten Otte , Alexander Graf , Heiko Carstens , Martin Schwidefsky , Sebastian Ott To: Rusty Russell Return-path: Received: from e06smtp16.uk.ibm.com ([195.75.94.112]:57915 "EHLO e06smtp16.uk.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751341Ab2HOHsv (ORCPT ); Wed, 15 Aug 2012 03:48:51 -0400 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 15 Aug 2012 08:48:49 +0100 In-Reply-To: <878vdgr4v2.fsf@rustcorp.com.au> Sender: kvm-owner@vger.kernel.org List-ID: >> Have you written an appendix for the virtio specification for >> virtio-ccw? I think it would be good to include in this series for the >> purposes of review. > > Might be nice, but don't get fancy about it. Text will be fine and I > can cut & paste it in once it's finalized. There was a patch against the virtio spec in the patch series. Did it not make it to you? But Anthony is right, the spec is important, because the two main things that we need to get right are the 2 interfaces guest<->host and userspace(qemu)<->kvm. Everything else is not an ABI and can be fixed later on if necessary. Regarding the guest<->host interface a lot of things are mandated by the channel-IO architecture. We have also reserved some IDs for virtio (control unit type 0x3832, channel path type 0x32 and channel subsystem id 0xfe) so we just have to focus on the virtio part (thanks Rusty for the good feedback already). Regarding the qemu<->kvm interface it is important to have an interface that - allows us to be architectural compliant - which is fast - which must not prevent features like vhost - which allows to implement live migration - ...? Christian