Skip to content

Commit 1e431d0

Browse files
authored
acpi: clh: Remove multiple ACPI table for CLH guest (#44)
On the CVM guest kernel side we have figured out a way to unify multiple IGVMs for different CPU configuration into one. Thus, it is about time that we can remove multiple directories that we have under acpi-clh for different CPU configuration and have a single set of ACPI table for CLH guests. Signed-off-by: Jinank Jain <jinankjain@microsoft.com>
1 parent cb7f62f commit 1e431d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+4
-11182
lines changed

src/README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,10 @@ So that we do not need to include memory pages for data section in IGVM image.
6969

7070
## Cloud Hypervisor support
7171
We may use the same tool to create IGVM files that [Cloud Hypervisor](https://www.cloudhypervisor.org/) VMM can use to load a confidential guest.
72-
The default set of ACPI tables do not function when using this programme to generate IGVM files for Cloud Hypervisor, thus you must pick one of
73-
the folders under 'igvm/acpi/acpi-clh'. There are several folders under 'igvm/acpi/acpi-clh', and the name of the folder represents the number
74-
of CPUs you want the guest to boot with. Here is a sample command that you could use to generate an IGVM file for a guest with 2 vcpus:
72+
The default set of ACPI tables do not function when using this programme to generate IGVM files for Cloud Hypervisor, thus you must select
73+
'igvm/acpi/acpi-clh' as ACPI table directory.
7574

76-
```
75+
```sh
7776
$(IGVMGEN) -o $(OUTPUT) \
7877
-kernel $(LINUX)/arch/x86/boot/bzImage \
7978
-append "$(CMDLINE)" \
@@ -83,7 +82,7 @@ $(IGVMGEN) -o $(OUTPUT) \
8382
-svme 1 \
8483
-encrypted_page 1 \
8584
-pvalidate_opt 0 \
86-
-acpi_dir igvm/acpi/acpi-clh/2 \
85+
-acpi_dir igvm/acpi/acpi-clh \
8786
```
8887

8988

src/igvm/acpi/acpi-clh/16/APIC_sample.dsl

Lines changed: 0 additions & 185 deletions
This file was deleted.

0 commit comments

Comments
 (0)