qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v3 0/3] s390: channel I/O support in qemu.
@ 2012-10-31 16:24 Cornelia Huck
  2012-10-31 16:24 ` [Qemu-devel] [PATCH 1/3] Update linux headers Cornelia Huck
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Cornelia Huck @ 2012-10-31 16:24 UTC (permalink / raw)
  To: KVM, linux-s390, qemu-devel
  Cc: Carsten Otte, Anthony Liguori, Sebastian Ott, Marcelo Tosatti,
	Heiko Carstens, Alexander Graf, Christian Borntraeger, Avi Kivity,
	Martin Schwidefsky

Hi,

here's the latest version of my patchset introducing virtio-ccw.

This has been reworked with the changed kernel interface: qemu
will now handle all channel I/O requests (except the I/O interrupt
related ones that are handled in-kernel in the kvm case). This
avoids duplicating code in qemu and in kvm.

There are some misc fixes as well (mainly related to virtio-ccw).
Use of mutexes has hopefully been exorcised for now.

Unfortuately, patch 2 is now rather large - but I couldn't think
of a good way to split it up.

I still know of various things that need looking into (memory
accesses, for one), but I'd like some feedback about the new
interface first.

Cornelia Huck (3):
  Update linux headers.
  s390: Virtual channel subsystem support.
  s390: Add new channel I/O based virtio transport.

 hw/s390-virtio.c                     |  282 ++++++--
 hw/s390x/Makefile.objs               |    2 +
 hw/s390x/css.c                       | 1209 ++++++++++++++++++++++++++++++++++
 hw/s390x/css.h                       |   90 +++
 hw/s390x/virtio-ccw.c                |  904 +++++++++++++++++++++++++
 hw/s390x/virtio-ccw.h                |   81 +++
 linux-headers/asm-generic/kvm_para.h |    5 +
 linux-headers/asm-powerpc/kvm.h      |   59 ++
 linux-headers/asm-powerpc/kvm_para.h |    7 +-
 linux-headers/asm-x86/kvm.h          |   17 +
 linux-headers/linux/kvm.h            |   61 +-
 target-s390x/Makefile.objs           |    2 +-
 target-s390x/cpu.h                   |  232 +++++++
 target-s390x/helper.c                |  146 ++++
 target-s390x/ioinst.c                |  737 +++++++++++++++++++++
 target-s390x/ioinst.h                |  213 ++++++
 target-s390x/kvm.c                   |  251 ++++++-
 target-s390x/misc_helper.c           |    6 +-
 18 files changed, 4204 insertions(+), 100 deletions(-)
 create mode 100644 hw/s390x/css.c
 create mode 100644 hw/s390x/css.h
 create mode 100644 hw/s390x/virtio-ccw.c
 create mode 100644 hw/s390x/virtio-ccw.h
 create mode 100644 linux-headers/asm-generic/kvm_para.h
 create mode 100644 target-s390x/ioinst.c
 create mode 100644 target-s390x/ioinst.h

-- 
1.7.12.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-11-20  9:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-31 16:24 [Qemu-devel] [RFC PATCH v3 0/3] s390: channel I/O support in qemu Cornelia Huck
2012-10-31 16:24 ` [Qemu-devel] [PATCH 1/3] Update linux headers Cornelia Huck
2012-10-31 16:24 ` [Qemu-devel] [PATCH 2/3] s390: Virtual channel subsystem support Cornelia Huck
2012-11-13  1:17   ` Marcelo Tosatti
2012-11-13 10:11     ` Cornelia Huck
2012-11-19 13:30   ` Alexander Graf
2012-11-20  9:27     ` Cornelia Huck
2012-10-31 16:24 ` [Qemu-devel] [PATCH 3/3] s390: Add new channel I/O based virtio transport Cornelia Huck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).