Blame SOURCES/kvm-s390x-pci-Move-header-files-to-include-hw-s390x.patch

c687bc
From 73fb2438518ef2073f2486fcf1dd8cddffb29228 Mon Sep 17 00:00:00 2001
c687bc
From: Cornelia Huck <cohuck@redhat.com>
c687bc
Date: Tue, 19 Jan 2021 12:50:41 -0500
c687bc
Subject: [PATCH 2/7] s390x/pci: Move header files to include/hw/s390x
c687bc
c687bc
RH-Author: Cornelia Huck <cohuck@redhat.com>
c687bc
Message-id: <20210119125046.472811-3-cohuck@redhat.com>
c687bc
Patchwork-id: 100676
c687bc
O-Subject: [RHEL-8.4.0 qemu-kvm PATCH 2/7] s390x/pci: Move header files to include/hw/s390x
c687bc
Bugzilla: 1905391
c687bc
RH-Acked-by: David Hildenbrand <david@redhat.com>
c687bc
RH-Acked-by: Auger Eric <eric.auger@redhat.com>
c687bc
RH-Acked-by: Thomas Huth <thuth@redhat.com>
c687bc
c687bc
From: Matthew Rosato <mjrosato@linux.ibm.com>
c687bc
c687bc
Seems a more appropriate location for them.
c687bc
c687bc
Signed-off-by: Matthew Rosato <mjrosato@linux.ibm.com>
c687bc
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
c687bc
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
c687bc
(cherry picked from commit 408b55db8be3e3edae041d46ef8786fabc1476aa)
c687bc
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
c687bc
c687bc
 Conflicts:
c687bc
	hw/s390x/s390-virtio-ccw.c
c687bc
        --> context diff
c687bc
c687bc
Signed-off-by: Danilo C. L. de Paula <ddepaula@redhat.com>
c687bc
---
c687bc
 MAINTAINERS                              | 1 +
c687bc
 hw/s390x/s390-pci-bus.c                  | 4 ++--
c687bc
 hw/s390x/s390-pci-inst.c                 | 4 ++--
c687bc
 hw/s390x/s390-virtio-ccw.c               | 2 +-
c687bc
 {hw => include/hw}/s390x/s390-pci-bus.h  | 0
c687bc
 {hw => include/hw}/s390x/s390-pci-inst.h | 0
c687bc
 6 files changed, 6 insertions(+), 5 deletions(-)
c687bc
 rename {hw => include/hw}/s390x/s390-pci-bus.h (100%)
c687bc
 rename {hw => include/hw}/s390x/s390-pci-inst.h (100%)
c687bc
c687bc
diff --git a/MAINTAINERS b/MAINTAINERS
c687bc
index 2742c955754..56ca8193d86 100644
c687bc
--- a/MAINTAINERS
c687bc
+++ b/MAINTAINERS
c687bc
@@ -1225,6 +1225,7 @@ S390 PCI
c687bc
 M: Matthew Rosato <mjrosato@linux.ibm.com>
c687bc
 S: Supported
c687bc
 F: hw/s390x/s390-pci*
c687bc
+F: include/hw/s390x/s390-pci*
c687bc
 L: qemu-s390x@nongnu.org
c687bc
 
c687bc
 UniCore32 Machines
c687bc
diff --git a/hw/s390x/s390-pci-bus.c b/hw/s390x/s390-pci-bus.c
c687bc
index 2d2f4a7c419..6daef2b6d57 100644
c687bc
--- a/hw/s390x/s390-pci-bus.c
c687bc
+++ b/hw/s390x/s390-pci-bus.c
c687bc
@@ -15,8 +15,8 @@
c687bc
 #include "qapi/error.h"
c687bc
 #include "qapi/visitor.h"
c687bc
 #include "cpu.h"
c687bc
-#include "s390-pci-bus.h"
c687bc
-#include "s390-pci-inst.h"
c687bc
+#include "hw/s390x/s390-pci-bus.h"
c687bc
+#include "hw/s390x/s390-pci-inst.h"
c687bc
 #include "hw/pci/pci_bus.h"
c687bc
 #include "hw/qdev-properties.h"
c687bc
 #include "hw/pci/pci_bridge.h"
c687bc
diff --git a/hw/s390x/s390-pci-inst.c b/hw/s390x/s390-pci-inst.c
c687bc
index 27b189e6d75..b1885344f18 100644
c687bc
--- a/hw/s390x/s390-pci-inst.c
c687bc
+++ b/hw/s390x/s390-pci-inst.c
c687bc
@@ -13,12 +13,12 @@
c687bc
 
c687bc
 #include "qemu/osdep.h"
c687bc
 #include "cpu.h"
c687bc
-#include "s390-pci-inst.h"
c687bc
-#include "s390-pci-bus.h"
c687bc
 #include "exec/memop.h"
c687bc
 #include "exec/memory-internal.h"
c687bc
 #include "qemu/error-report.h"
c687bc
 #include "sysemu/hw_accel.h"
c687bc
+#include "hw/s390x/s390-pci-inst.h"
c687bc
+#include "hw/s390x/s390-pci-bus.h"
c687bc
 #include "hw/s390x/tod.h"
c687bc
 
c687bc
 #ifndef DEBUG_S390PCI_INST
c687bc
diff --git a/hw/s390x/s390-virtio-ccw.c b/hw/s390x/s390-virtio-ccw.c
c687bc
index 5b3d07f55c4..101f3b7c6e1 100644
c687bc
--- a/hw/s390x/s390-virtio-ccw.c
c687bc
+++ b/hw/s390x/s390-virtio-ccw.c
c687bc
@@ -27,7 +27,7 @@
c687bc
 #include "qemu/ctype.h"
c687bc
 #include "qemu/error-report.h"
c687bc
 #include "qemu/option.h"
c687bc
-#include "s390-pci-bus.h"
c687bc
+#include "hw/s390x/s390-pci-bus.h"
c687bc
 #include "sysemu/reset.h"
c687bc
 #include "hw/s390x/storage-keys.h"
c687bc
 #include "hw/s390x/storage-attributes.h"
c687bc
diff --git a/hw/s390x/s390-pci-bus.h b/include/hw/s390x/s390-pci-bus.h
c687bc
similarity index 100%
c687bc
rename from hw/s390x/s390-pci-bus.h
c687bc
rename to include/hw/s390x/s390-pci-bus.h
c687bc
diff --git a/hw/s390x/s390-pci-inst.h b/include/hw/s390x/s390-pci-inst.h
c687bc
similarity index 100%
c687bc
rename from hw/s390x/s390-pci-inst.h
c687bc
rename to include/hw/s390x/s390-pci-inst.h
c687bc
-- 
c687bc
2.27.0
c687bc