qemu/tests-acpi-add-empty-files.patch
Keqian Zhu d01be9927c ARM virt: ACPI memory hotplug support
This series is an attempt to provide device memory hotplug support
on ARM virt platform. This is based on Eric's recent works here[1]
and carries some of the pc-dimm related patches dropped from his
series.

The kernel support for arm64 memory hot add was added recently by
Robin and hence the guest kernel should be => 5.0-rc1.

NVDIM support is not included currently as we still have an unresolved
issue while hot adding NVDIMM[2]. However NVDIMM cold plug patches
can be included, but not done for now, for keeping it simple.

This makes use of GED device to sent hotplug ACPI events to the
Guest. GED code is based on Nemu. Thanks to the efforts of Samuel and
Sebastien to add the hardware-reduced support to Nemu using GED
device[3]. (Please shout if I got the author/signed-off wrong for
those patches or missed any names).

This is sanity tested on a HiSilicon ARM64 platform and appreciate
any further testing.

Note:
Attempted adding dimm_pxm test case to bios-tables-test for arm/virt.
But noticed the issue decribed here[5]. This is under investigation
now.

upstream url: https://patchwork.kernel.org/cover/11150345/

Signed-off-by: Keqian Zhu <zhukeqian1@huawei.com>
2020-06-01 09:13:39 +00:00

89 lines
3.6 KiB
Diff

From c943416df54931cea8b19183fd7c4f2dbd86ec72 Mon Sep 17 00:00:00 2001
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: Sun, 29 Sep 2019 10:54:12 -0400
Subject: [PATCH] tests/acpi: add empty files
Needed to make tests pass. Will replace with actual files.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
tests/data/acpi/virt/APIC.memhp | 0
tests/data/acpi/virt/APIC.numamem | 0
tests/data/acpi/virt/DSDT.memhp | 0
tests/data/acpi/virt/DSDT.numamem | 0
tests/data/acpi/virt/FACP.memhp | 0
tests/data/acpi/virt/FACP.numamem | 0
tests/data/acpi/virt/GTDT.memhp | 0
tests/data/acpi/virt/GTDT.numamem | 0
tests/data/acpi/virt/MCFG.memhp | 0
tests/data/acpi/virt/MCFG.numamem | 0
tests/data/acpi/virt/SLIT.memhp | 0
tests/data/acpi/virt/SPCR.memhp | 0
tests/data/acpi/virt/SPCR.numamem | 0
tests/data/acpi/virt/SRAT.memhp | 0
tests/data/acpi/virt/SRAT.numamem | 0
15 files changed, 0 insertions(+), 0 deletions(-)
create mode 100644 tests/data/acpi/virt/APIC.memhp
create mode 100644 tests/data/acpi/virt/APIC.numamem
create mode 100644 tests/data/acpi/virt/DSDT.memhp
create mode 100644 tests/data/acpi/virt/DSDT.numamem
create mode 100644 tests/data/acpi/virt/FACP.memhp
create mode 100644 tests/data/acpi/virt/FACP.numamem
create mode 100644 tests/data/acpi/virt/GTDT.memhp
create mode 100644 tests/data/acpi/virt/GTDT.numamem
create mode 100644 tests/data/acpi/virt/MCFG.memhp
create mode 100644 tests/data/acpi/virt/MCFG.numamem
create mode 100644 tests/data/acpi/virt/SLIT.memhp
create mode 100644 tests/data/acpi/virt/SPCR.memhp
create mode 100644 tests/data/acpi/virt/SPCR.numamem
create mode 100644 tests/data/acpi/virt/SRAT.memhp
create mode 100644 tests/data/acpi/virt/SRAT.numamem
diff --git a/tests/data/acpi/virt/APIC.memhp b/tests/data/acpi/virt/APIC.memhp
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/APIC.numamem b/tests/data/acpi/virt/APIC.numamem
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/DSDT.memhp b/tests/data/acpi/virt/DSDT.memhp
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/DSDT.numamem b/tests/data/acpi/virt/DSDT.numamem
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/FACP.memhp b/tests/data/acpi/virt/FACP.memhp
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/FACP.numamem b/tests/data/acpi/virt/FACP.numamem
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/GTDT.memhp b/tests/data/acpi/virt/GTDT.memhp
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/GTDT.numamem b/tests/data/acpi/virt/GTDT.numamem
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/MCFG.memhp b/tests/data/acpi/virt/MCFG.memhp
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/MCFG.numamem b/tests/data/acpi/virt/MCFG.numamem
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/SLIT.memhp b/tests/data/acpi/virt/SLIT.memhp
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/SPCR.memhp b/tests/data/acpi/virt/SPCR.memhp
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/SPCR.numamem b/tests/data/acpi/virt/SPCR.numamem
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/SRAT.memhp b/tests/data/acpi/virt/SRAT.memhp
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/tests/data/acpi/virt/SRAT.numamem b/tests/data/acpi/virt/SRAT.numamem
new file mode 100644
index 0000000000..e69de29bb2
--
2.19.1