[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC][patch 4/6] KVM: s390: Add PCI pass-through suppor
From: |
Alexander Graf |
Subject: |
Re: [Qemu-devel] [RFC][patch 4/6] KVM: s390: Add PCI pass-through support |
Date: |
Fri, 05 Sep 2014 10:37:23 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 |
On 04.09.14 12:52, address@hidden wrote:
> From: Frank Blaschka <address@hidden>
>
> This patch implemets PCI pass-through kernel support for s390.
> Design approach is very similar to the x86 device assignment.
> User space executes the KVM_ASSIGN_PCI_DEVICE ioctl to create
> a proxy instance in the kernel KVM and connect this instance to the
> host pci device. s390 pci instructions are intercepted in kernel and
> operations are passed directly to the assigned pci device.
> To take advantage of all system z specific virtualization features
> we need to access the SIE control block residing in KVM. Also we have to
> enable z pci devices with special configuration information coming
> form the SIE block as well.
>
> Signed-off-by: Frank Blaschka <address@hidden>
> ---
> arch/s390/include/asm/kvm_host.h | 1
> arch/s390/kvm/Makefile | 2
> arch/s390/kvm/intercept.c | 1
> arch/s390/kvm/kvm-s390.c | 33
> arch/s390/kvm/kvm-s390.h | 17
> arch/s390/kvm/pci.c | 2130
> +++++++++++++++++++++++++++++++++++++++
> arch/s390/kvm/priv.c | 21
> 7 files changed, 2202 insertions(+), 3 deletions(-)
I would love to review this patch, but in its current form it's
impossible to do. I can't possibly keep > 2000 lines of code in my head.
Alex
[Qemu-devel] [RFC][patch 1/6] s390: cio: chsc function to register GIB, frank . blaschka, 2014/09/04
[Qemu-devel] [RFC][patch 4/6] KVM: s390: Add PCI pass-through support, frank . blaschka, 2014/09/04
- Re: [Qemu-devel] [RFC][patch 4/6] KVM: s390: Add PCI pass-through support,
Alexander Graf <=
[Qemu-devel] [RFC][patch 2/6] s390: pci: export pci functions for pass-through usage, frank . blaschka, 2014/09/04
[Qemu-devel] [RFC][patch 3/6] KVM: s390: Add GISA support, frank . blaschka, 2014/09/04
[Qemu-devel] [RFC][patch 6/6] s390: Add PCI pass-through device support, frank . blaschka, 2014/09/04
[Qemu-devel] [RFC][patch 5/6] s390: Add PCI bus support, frank . blaschka, 2014/09/04
Re: [Qemu-devel] [RFC][patch 0/6] pci pass-through support for qemu/KVM on s390, Alexander Graf, 2014/09/05