From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syl9S-0003IH-3y for qemu-devel@nongnu.org; Tue, 07 Aug 2012 10:52:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Syl9Q-00008W-VC for qemu-devel@nongnu.org; Tue, 07 Aug 2012 10:52:54 -0400 Received: from e06smtp15.uk.ibm.com ([195.75.94.111]:34679) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Syl9Q-00008E-LP for qemu-devel@nongnu.org; Tue, 07 Aug 2012 10:52:52 -0400 Received: from /spool/local by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 7 Aug 2012 15:52:51 +0100 Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q77EqhnS37355772 for ; Tue, 7 Aug 2012 14:52:43 GMT Received: from d06av01.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q77Eqm7X009265 for ; Tue, 7 Aug 2012 08:52:48 -0600 From: Cornelia Huck Date: Tue, 7 Aug 2012 16:52:44 +0200 Message-Id: <1344351168-2568-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [RFC PATCH 0/4] s390: virtio-ccw guest kernel support. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: KVM , linux-s390 , qemu-devel Cc: Carsten Otte , Anthony Liguori , Rusty Russell , Sebastian Ott , Marcelo Tosatti , Heiko Carstens , Alexander Graf , Christian Borntraeger , Avi Kivity , Martin Schwidefsky Hi, the following patches are for Linux running as a guest under a host with virtio-ccw support. Patch 1 makes the kvm_virtio driver exit gracefully if the page containing s390-virtio information it expects is not present; it could probably go in seperately from the other patches. Patch 2 exports a needed interface. Patch 3 adds a driver handling virtio-ccw devices. The virtual subchannels have ccw devices with a special CU id this driver matches for. The virtio_ccw driver handles configuration and operation via the special new channel commands. Patch 4 is a split out of common code. Cornelia Huck (4): s390/kvm: Handle hosts not supporting s390-virtio. s390: Add a mechanism to get the subchannel id. s390/kvm: Add a channel I/O based virtio transport driver. s390/kvm: Split out early console code. arch/s390/include/asm/ccwdev.h | 5 + arch/s390/include/asm/irq.h | 1 + arch/s390/kernel/irq.c | 1 + drivers/s390/cio/device_ops.c | 10 + drivers/s390/kvm/Makefile | 2 +- drivers/s390/kvm/early_printk.c | 42 +++ drivers/s390/kvm/kvm_virtio.c | 46 ++- drivers/s390/kvm/virtio_ccw.c | 760 ++++++++++++++++++++++++++++++++++++++++ 8 files changed, 841 insertions(+), 26 deletions(-) create mode 100644 drivers/s390/kvm/early_printk.c create mode 100644 drivers/s390/kvm/virtio_ccw.c -- 1.7.11.4