[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [Qemu-devel] [PATCH qemu v6 04/15] vfio: spapr: Move SPAP
From: |
Thomas Huth |
Subject: |
Re: [Qemu-ppc] [Qemu-devel] [PATCH qemu v6 04/15] vfio: spapr: Move SPAPR-related code to a separate file |
Date: |
Thu, 16 Apr 2015 09:50:45 +0200 |
Am Sat, 11 Apr 2015 01:24:33 +1000
schrieb Alexey Kardashevskiy <address@hidden>:
> This moves SPAPR bits to a separate file to avoid pollution of x86 code.
>
> This is a mechanical patch.
>
> Signed-off-by: Alexey Kardashevskiy <address@hidden>
> Reviewed-by: David Gibson <address@hidden>
> ---
> hw/vfio/Makefile.objs | 1 +
> hw/vfio/common.c | 134 ++-----------------------
> hw/vfio/spapr.c | 226
> ++++++++++++++++++++++++++++++++++++++++++
> include/hw/vfio/vfio-common.h | 13 +++
> 4 files changed, 246 insertions(+), 128 deletions(-)
> create mode 100644 hw/vfio/spapr.c
>
> diff --git a/hw/vfio/Makefile.objs b/hw/vfio/Makefile.objs
> index e31f30e..b987ffb 100644
> --- a/hw/vfio/Makefile.objs
> +++ b/hw/vfio/Makefile.objs
> @@ -1,4 +1,5 @@
> ifeq ($(CONFIG_LINUX), y)
> obj-$(CONFIG_SOFTMMU) += common.o
> obj-$(CONFIG_PCI) += pci.o
> +obj-$(CONFIG_SOFTMMU) += spapr.o
Would it be possible / make sense to use CONFIG_PSERIES instead of
CONFIG_SOFTMMU here instead?
Thomas
- [Qemu-ppc] [PATCH qemu v6 00/15] spapr: vfio: Enable Dynamic DMA windows (DDW), Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 01/15] linux headers update for DDW on SPAPR, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 03/15] spapr_pci: Make find_phb()/find_dev() public, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 02/15] vmstate: Define VARRAY with VMS_ALLOC, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 04/15] vfio: spapr: Move SPAPR-related code to a separate file, Alexey Kardashevskiy, 2015/04/10
- Re: [Qemu-ppc] [Qemu-devel] [PATCH qemu v6 04/15] vfio: spapr: Move SPAPR-related code to a separate file,
Thomas Huth <=
- [Qemu-ppc] [PATCH qemu v6 06/15] spapr_pci: Convert finish_realize() to dma_capabilities_update()+dma_init_window(), Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 11/15] spapr_pci: Do complete reset of DMA config when resetting PHB, Alexey Kardashevskiy, 2015/04/10
- [Qemu-ppc] [PATCH qemu v6 08/15] spapr_iommu: Introduce "enabled" state for TCE table, Alexey Kardashevskiy, 2015/04/10