Re: [RFC PATCH v3 0/5] s390: Host support for channel I/O.

Marcelo Tosatti
2012-11-13T22:25:49Z

On Wed, Oct 31, 2012 at 05:24:33PM +0100, Cornelia Huck wrote:
> Hi,
>
> here's the latest incarnation of my host patches to support channel
> I/O on s390.
>
> Most patches have only seen minor fixes, but patch 5 is completely
> different since the kvm <-> user space interface has been reworked.
>
> We now handle only interrupt-related operations in kvm. This
> includes two channel I/O instructions that can dequeue pending I/O
> interrupts: tpi and tsch (not the part actually interacting with
> the subchannel). This makes the interface less complex (only one
> new exit for tsch handling) and avoids duplicating code from qemu.
>
> Cornelia Huck (5):
> KVM: s390: Support for I/O interrupts.
> KVM: s390: Add support for machine checks.
> KVM: s390: In-kernel handling of I/O instructions.
> KVM: s390: Base infrastructure for enabling capabilities.
> KVM: s390: Add support for channel I/O instructions.
>
> Documentation/virtual/kvm/api.txt | 40 +++++-
> arch/s390/include/asm/kvm_host.h | 11 ++
> arch/s390/kvm/intercept.c | 22 ++-
> arch/s390/kvm/interrupt.c | 264 +++++++++++++++++++++++++++++++++++-
> arch/s390/kvm/kvm-s390.c | 38 ++++++
> arch/s390/kvm/kvm-s390.h | 6 +
> arch/s390/kvm/priv.c | 275 +++++++++++++++++++++++++++++++++++---
> arch/s390/kvm/trace-s390.h | 26 +++-
> include/linux/kvm.h | 18 +++
> include/trace/events/kvm.h | 2 +-
> 10 files changed, 673 insertions(+), 29 deletions(-)
>
> --
> 1.7.12.4

Reviewed-by: Marcelo Tosatti <mtosatti@redhat.com>