mbox series

[RFC,0/2] accel/kvm: Extract 'sysemu/kvm_irq.h' from 'sysemu/kvm.h'

Message ID 20230405163001.98573-1-philmd@linaro.org
Headers show
Series accel/kvm: Extract 'sysemu/kvm_irq.h' from 'sysemu/kvm.h' | expand

Message

Philippe Mathieu-Daudé April 5, 2023, 4:29 p.m. UTC
Posted individually because it is modifying a lot of files.

RFC: this might not be the best API cut, but "sysemu/kvm.h"
     is a mixed bag hard to sort...

Based-on: <20230405160454.97436-1-philmd@linaro.org>

Philippe Mathieu-Daudé (2):
  accel/kvm: Extract 'sysemu/kvm_irq.h' from 'sysemu/kvm.h'
  accel/kvm: Declare kvm_arch_irqchip_create() in 'sysemu/kvm_int.h'

 include/sysemu/kvm.h           |  88 -----------------------------
 include/sysemu/kvm_int.h       |  13 +++++
 include/sysemu/kvm_irq.h       | 100 +++++++++++++++++++++++++++++++++
 target/i386/kvm/kvm_i386.h     |   1 +
 accel/kvm/kvm-all.c            |   2 +
 accel/stubs/kvm-stub.c         |   1 +
 hw/arm/virt.c                  |   1 +
 hw/cpu/a15mpcore.c             |   1 +
 hw/hyperv/hyperv.c             |   1 +
 hw/i386/intel_iommu.c          |   1 +
 hw/i386/kvm/apic.c             |   1 +
 hw/i386/kvm/i8259.c            |   1 +
 hw/i386/kvm/ioapic.c           |   1 +
 hw/i386/kvmvapic.c             |   1 +
 hw/i386/pc.c                   |   1 +
 hw/i386/x86-iommu.c            |   1 +
 hw/intc/arm_gic.c              |   1 +
 hw/intc/arm_gic_common.c       |   1 +
 hw/intc/arm_gic_kvm.c          |   1 +
 hw/intc/arm_gicv3_common.c     |   1 +
 hw/intc/arm_gicv3_its_common.c |   1 +
 hw/intc/arm_gicv3_kvm.c        |   1 +
 hw/intc/ioapic.c               |   1 +
 hw/intc/openpic_kvm.c          |   1 +
 hw/intc/s390_flic_kvm.c        |   1 +
 hw/intc/spapr_xive_kvm.c       |   1 +
 hw/intc/xics.c                 |   1 +
 hw/intc/xics_kvm.c             |   1 +
 hw/misc/ivshmem.c              |   1 +
 hw/ppc/e500.c                  |   1 +
 hw/ppc/spapr_irq.c             |   1 +
 hw/remote/proxy.c              |   1 +
 hw/s390x/virtio-ccw.c          |   1 +
 hw/vfio/pci.c                  |   1 +
 hw/vfio/platform.c             |   1 +
 hw/virtio/virtio-pci.c         |   1 +
 target/arm/kvm.c               |   1 +
 target/i386/kvm/kvm.c          |   2 +
 target/i386/kvm/xen-emu.c      |   2 +
 target/i386/sev.c              |   1 +
 target/s390x/kvm/kvm.c         |   2 +
 41 files changed, 155 insertions(+), 88 deletions(-)
 create mode 100644 include/sysemu/kvm_irq.h

Comments

Philippe Mathieu-Daudé June 29, 2023, 12:38 p.m. UTC | #1
Ping?

On 5/4/23 18:29, Philippe Mathieu-Daudé wrote:
> Posted individually because it is modifying a lot of files.
> 
> RFC: this might not be the best API cut, but "sysemu/kvm.h"
>       is a mixed bag hard to sort...
> 
> Based-on: <20230405160454.97436-1-philmd@linaro.org>

(not based-on actually)

> Philippe Mathieu-Daudé (2):
>    accel/kvm: Extract 'sysemu/kvm_irq.h' from 'sysemu/kvm.h'
>    accel/kvm: Declare kvm_arch_irqchip_create() in 'sysemu/kvm_int.h'
> 
>   include/sysemu/kvm.h           |  88 -----------------------------
>   include/sysemu/kvm_int.h       |  13 +++++
>   include/sysemu/kvm_irq.h       | 100 +++++++++++++++++++++++++++++++++
>   target/i386/kvm/kvm_i386.h     |   1 +
>   accel/kvm/kvm-all.c            |   2 +
>   accel/stubs/kvm-stub.c         |   1 +
>   hw/arm/virt.c                  |   1 +
>   hw/cpu/a15mpcore.c             |   1 +
>   hw/hyperv/hyperv.c             |   1 +
>   hw/i386/intel_iommu.c          |   1 +
>   hw/i386/kvm/apic.c             |   1 +
>   hw/i386/kvm/i8259.c            |   1 +
>   hw/i386/kvm/ioapic.c           |   1 +
>   hw/i386/kvmvapic.c             |   1 +
>   hw/i386/pc.c                   |   1 +
>   hw/i386/x86-iommu.c            |   1 +
>   hw/intc/arm_gic.c              |   1 +
>   hw/intc/arm_gic_common.c       |   1 +
>   hw/intc/arm_gic_kvm.c          |   1 +
>   hw/intc/arm_gicv3_common.c     |   1 +
>   hw/intc/arm_gicv3_its_common.c |   1 +
>   hw/intc/arm_gicv3_kvm.c        |   1 +
>   hw/intc/ioapic.c               |   1 +
>   hw/intc/openpic_kvm.c          |   1 +
>   hw/intc/s390_flic_kvm.c        |   1 +
>   hw/intc/spapr_xive_kvm.c       |   1 +
>   hw/intc/xics.c                 |   1 +
>   hw/intc/xics_kvm.c             |   1 +
>   hw/misc/ivshmem.c              |   1 +
>   hw/ppc/e500.c                  |   1 +
>   hw/ppc/spapr_irq.c             |   1 +
>   hw/remote/proxy.c              |   1 +
>   hw/s390x/virtio-ccw.c          |   1 +
>   hw/vfio/pci.c                  |   1 +
>   hw/vfio/platform.c             |   1 +
>   hw/virtio/virtio-pci.c         |   1 +
>   target/arm/kvm.c               |   1 +
>   target/i386/kvm/kvm.c          |   2 +
>   target/i386/kvm/xen-emu.c      |   2 +
>   target/i386/sev.c              |   1 +
>   target/s390x/kvm/kvm.c         |   2 +
>   41 files changed, 155 insertions(+), 88 deletions(-)
>   create mode 100644 include/sysemu/kvm_irq.h
>