From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNHbj-0007aC-6A for qemu-devel@nongnu.org; Wed, 03 Apr 2013 02:55:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UNHbi-00079a-1C for qemu-devel@nongnu.org; Wed, 03 Apr 2013 02:55:43 -0400 Received: from e06smtp18.uk.ibm.com ([195.75.94.114]:43741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UNHbh-00079J-DA for qemu-devel@nongnu.org; Wed, 03 Apr 2013 02:55:41 -0400 Received: from /spool/local by e06smtp18.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 3 Apr 2013 07:52:27 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7B3E92190056 for ; Wed, 3 Apr 2013 07:57:37 +0100 (BST) Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by b06cxnps3074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r336tSoL49676358 for ; Wed, 3 Apr 2013 06:55:28 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r336tbsR006196 for ; Wed, 3 Apr 2013 00:55:37 -0600 Date: Wed, 3 Apr 2013 08:55:34 +0200 From: Cornelia Huck Message-ID: <20130403085534.47ac7674@gondolin> In-Reply-To: <1364547764-6627-1-git-send-email-fred.konrad@greensocs.com> References: <1364547764-6627-1-git-send-email-fred.konrad@greensocs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 0/7] virtio-serial refactoring. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fred.konrad@greensocs.com Cc: peter.maydell@linaro.org, aliguori@us.ibm.com, mark.burton@greensocs.com, qemu-devel@nongnu.org On Fri, 29 Mar 2013 10:02:37 +0100 fred.konrad@greensocs.com wrote: > From: KONRAD Frederic > > This is the next part of virtio-refactoring. > > Basically it creates virtio-serial device which extends virtio-device. > Then a virtio-serial can be connected on a virtio-bus. > virtio-serial-pci, virtio-serial-s390 and virtio-serial-ccw are created too, > they extend respectively virtio-pci, virtio-s390-device, virtio-ccw-device and > have a virtio-serial. > > You can checkout my branch here: > > git://project.greensocs.com/qemu-virtio.git virtio-serial-v4 > > Note that it is nearly the same series as virtio-blk and virtio-scsi > refactoring. > > I made basic tests (with linux guests) on: > * qemu-system-i386 On s390, with s390-virtio and virtio-ccw: Tested-by: Cornelia Huck > > CHanges v3 -> v': > * Removed serial configuration field ommited in VirtioCCWDevice structure. > > Changes v2 -> v3: > * Added CCW device. > * Rebased. > > Thanks, > > Fred > > KONRAD Frederic (7): > virtio-serial: add the virtio-serial device. > virtio-serial-pci: switch to the new API. > virtio-serial-s390: switch to the new API. > virtio-serial-ccw: switch to the new API. > virtio-serial: cleanup: init and exit functions. > virtio-serial: cleanup: use QOM casts. > virtio-serial: cleanup: remove qdev field. > > hw/s390x/s390-virtio-bus.c | 32 +++++---- > hw/s390x/s390-virtio-bus.h | 12 +++- > hw/s390x/virtio-ccw.c | 30 +++++---- > hw/s390x/virtio-ccw.h | 12 +++- > hw/virtio-pci.c | 130 ++++++++++++++++++------------------- > hw/virtio-pci.h | 14 +++- > hw/virtio-serial-bus.c | 157 +++++++++++++++++++++++++++------------------ > hw/virtio-serial.h | 13 +++- > 8 files changed, 240 insertions(+), 160 deletions(-) >