yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

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

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