[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v7 02/21] seabios: add microvm config, update build rules
From: |
Gerd Hoffmann |
Subject: |
[PATCH v7 02/21] seabios: add microvm config, update build rules |
Date: |
Tue, 8 Sep 2020 14:10:31 +0200 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
---
roms/Makefile | 5 ++++-
roms/config.seabios-microvm | 26 ++++++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
create mode 100644 roms/config.seabios-microvm
diff --git a/roms/Makefile b/roms/Makefile
index 2673a39f9dc2..f8890c7e39de 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -70,9 +70,12 @@ default help:
@echo " clean -- delete the files generated by the
previous" \
"build targets"
-bios: build-seabios-config-seabios-128k build-seabios-config-seabios-256k
+bios: build-seabios-config-seabios-128k \
+ build-seabios-config-seabios-256k \
+ build-seabios-config-seabios-microvm
cp seabios/builds/seabios-128k/bios.bin ../pc-bios/bios.bin
cp seabios/builds/seabios-256k/bios.bin ../pc-bios/bios-256k.bin
+ cp seabios/builds/seabios-microvm/bios.bin ../pc-bios/bios-microvm.bin
vgabios seavgabios: $(patsubst %,seavgabios-%,$(vgabios_variants))
diff --git a/roms/config.seabios-microvm b/roms/config.seabios-microvm
new file mode 100644
index 000000000000..a253e2edc6ec
--- /dev/null
+++ b/roms/config.seabios-microvm
@@ -0,0 +1,26 @@
+CONFIG_QEMU=y
+CONFIG_QEMU_HARDWARE=y
+CONFIG_PERMIT_UNALIGNED_PCIROM=y
+CONFIG_ROM_SIZE=128
+CONFIG_XEN=n
+CONFIG_BOOTSPLASH=n
+CONFIG_ATA=n
+CONFIG_AHCI=n
+CONFIG_SDCARD=n
+CONFIG_PVSCSI=n
+CONFIG_ESP_SCSI=n
+CONFIG_LSI_SCSI=n
+CONFIG_MEGASAS=n
+CONFIG_MPT_SCSI=n
+CONFIG_FLOPPY=n
+CONFIG_FLASH_FLOPPY=n
+CONFIG_NVME=n
+CONFIG_PS2PORT=n
+CONFIG_USB=n
+CONFIG_LPT=n
+CONFIG_RTC_TIMER=n
+CONFIG_USE_SMM=n
+CONFIG_PMTIMER=n
+CONFIG_TCGBIOS=n
+CONFIG_HARDWARE_IRQ=n
+CONFIG_ACPI_PARSE=y
--
2.27.0
- [PATCH v7 00/21] microvm: add acpi support, Gerd Hoffmann, 2020/09/08
- [PATCH v7 02/21] seabios: add microvm config, update build rules,
Gerd Hoffmann <=
- [PATCH v7 01/21] microvm: name qboot binary qboot.rom, Gerd Hoffmann, 2020/09/08
- [PATCH v7 04/21] acpi: ged: add control regs, Gerd Hoffmann, 2020/09/08
- [PATCH v7 06/21] acpi: move acpi_dsdt_add_power_button() to ged, Gerd Hoffmann, 2020/09/08
- [PATCH v7 10/21] microvm/acpi: use GSI 16-23 for virtio, Gerd Hoffmann, 2020/09/08
- [PATCH v7 12/21] microvm/acpi: disable virtio-mmio cmdline hack, Gerd Hoffmann, 2020/09/08
- [PATCH v7 07/21] microvm: make virtio irq base runtime configurable, Gerd Hoffmann, 2020/09/08
- [PATCH v7 13/21] x86: constify x86_machine_is_*_enabled, Gerd Hoffmann, 2020/09/08
- [PATCH v7 16/21] microvm: wire up hotplug, Gerd Hoffmann, 2020/09/08