|
|
9ae3a8 |
From bf8a461cbf2030ed4d18aa9b5dc9c23d7a1059df Mon Sep 17 00:00:00 2001
|
|
|
9ae3a8 |
From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@redhat.com>
|
|
|
9ae3a8 |
Date: Wed, 13 Dec 2017 13:38:46 +0100
|
|
|
9ae3a8 |
Subject: [PATCH 15/41] build-sys: restrict vmcoreinfo to fw_cfg+dma capable
|
|
|
9ae3a8 |
targets
|
|
|
9ae3a8 |
MIME-Version: 1.0
|
|
|
9ae3a8 |
Content-Type: text/plain; charset=UTF-8
|
|
|
9ae3a8 |
Content-Transfer-Encoding: 8bit
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RH-Author: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
9ae3a8 |
Message-id: <20171213133912.26176-16-marcandre.lureau@redhat.com>
|
|
|
9ae3a8 |
Patchwork-id: 78365
|
|
|
9ae3a8 |
O-Subject: [RHEL-7.5 qemu-kvm PATCH v3 15/41] build-sys: restrict vmcoreinfo to fw_cfg+dma capable targets
|
|
|
9ae3a8 |
Bugzilla: 1411490
|
|
|
9ae3a8 |
RH-Acked-by: Laszlo Ersek <lersek@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
9ae3a8 |
RH-Acked-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
vmcoreinfo is built for all targets. However, it requires fw_cfg with
|
|
|
9ae3a8 |
DMA operations support (write operation). Restrict vmcoreinfo exposure
|
|
|
9ae3a8 |
to x86 architectures that are supporting FW_CFG_DMA.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
9ae3a8 |
Reviewed-by: Thomas Huth <thuth@redhat.com>
|
|
|
9ae3a8 |
Reviewed-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
|
|
|
9ae3a8 |
Tested-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
|
|
|
9ae3a8 |
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
(cherry picked from commit f865da7c369fa00b2ccaf6bce158ad2701b2a27c)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
RHEL: minor build-sys conflicts.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Removed unsupport architectures, update commit message.
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
|
9ae3a8 |
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
|
|
|
9ae3a8 |
---
|
|
|
9ae3a8 |
default-configs/i386-softmmu.mak | 1 +
|
|
|
9ae3a8 |
default-configs/x86_64-softmmu.mak | 1 +
|
|
|
9ae3a8 |
hw/misc/Makefile.objs | 2 +-
|
|
|
9ae3a8 |
3 files changed, 3 insertions(+), 1 deletion(-)
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
diff --git a/default-configs/i386-softmmu.mak b/default-configs/i386-softmmu.mak
|
|
|
9ae3a8 |
index fb84f80..aeeac4e 100644
|
|
|
9ae3a8 |
--- a/default-configs/i386-softmmu.mak
|
|
|
9ae3a8 |
+++ b/default-configs/i386-softmmu.mak
|
|
|
9ae3a8 |
@@ -45,3 +45,4 @@ CONFIG_APIC=y
|
|
|
9ae3a8 |
CONFIG_IOAPIC=y
|
|
|
9ae3a8 |
CONFIG_ICC_BUS=y
|
|
|
9ae3a8 |
CONFIG_PVPANIC=y
|
|
|
9ae3a8 |
+CONFIG_FW_CFG_DMA=y
|
|
|
9ae3a8 |
diff --git a/default-configs/x86_64-softmmu.mak b/default-configs/x86_64-softmmu.mak
|
|
|
9ae3a8 |
index a6fdf84..19667bf 100644
|
|
|
9ae3a8 |
--- a/default-configs/x86_64-softmmu.mak
|
|
|
9ae3a8 |
+++ b/default-configs/x86_64-softmmu.mak
|
|
|
9ae3a8 |
@@ -38,3 +38,4 @@ CONFIG_APIC=y
|
|
|
9ae3a8 |
CONFIG_IOAPIC=y
|
|
|
9ae3a8 |
CONFIG_ICC_BUS=y
|
|
|
9ae3a8 |
CONFIG_PVPANIC=y
|
|
|
9ae3a8 |
+CONFIG_FW_CFG_DMA=y
|
|
|
9ae3a8 |
diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs
|
|
|
9ae3a8 |
index 39b6593..f692fcd 100644
|
|
|
9ae3a8 |
--- a/hw/misc/Makefile.objs
|
|
|
9ae3a8 |
+++ b/hw/misc/Makefile.objs
|
|
|
9ae3a8 |
@@ -5,7 +5,7 @@ common-obj-$(CONFIG_ISA_DEBUG) += debugexit.o
|
|
|
9ae3a8 |
common-obj-$(CONFIG_SGA) += sga.o
|
|
|
9ae3a8 |
common-obj-$(CONFIG_ISA_TESTDEV) += pc-testdev.o
|
|
|
9ae3a8 |
common-obj-$(CONFIG_PCI_TESTDEV) += pci-testdev.o
|
|
|
9ae3a8 |
-common-obj-y += vmcoreinfo.o
|
|
|
9ae3a8 |
+common-obj-$(CONFIG_FW_CFG_DMA) += vmcoreinfo.o
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
obj-$(CONFIG_VMPORT) += vmport.o
|
|
|
9ae3a8 |
|
|
|
9ae3a8 |
--
|
|
|
9ae3a8 |
1.8.3.1
|
|
|
9ae3a8 |
|