From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULCq7-0003U9-9n for qemu-devel@nongnu.org; Thu, 28 Mar 2013 09:26:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULCq4-00084H-Gg for qemu-devel@nongnu.org; Thu, 28 Mar 2013 09:25:59 -0400 Received: from greensocs.com ([87.106.252.221]:39670 helo=s15328186.onlinehome-server.info) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULCq4-00083R-90 for qemu-devel@nongnu.org; Thu, 28 Mar 2013 09:25:56 -0400 From: fred.konrad@greensocs.com Date: Thu, 28 Mar 2013 14:25:25 +0100 Message-Id: <1364477132-17968-1-git-send-email-fred.konrad@greensocs.com> Subject: [Qemu-devel] [PATCH v3 0/7] virtio-serial refactoring. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, aliguori@us.ibm.com Cc: cornelia.huck@de.ibm.com, peter.maydell@linaro.org, mark.burton@greensocs.com, fred.konrad@greensocs.com 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-v3 Note that it is nearly the same series as virtio-blk and virtio-scsi refactoring. *Note that it comes on top of virtio-balloon-v3 I posted yesterday.* I made basic tests (with linux guests) on: * qemu-system-i386 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 | 11 ++++ 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(+), 159 deletions(-) -- 1.7.11.7