summaryrefslogtreecommitdiffstats
path: root/roms
diff options
context:
space:
mode:
authorGerd Hoffmann2020-09-15 14:08:50 +0200
committerGerd Hoffmann2020-09-17 14:16:19 +0200
commitbe404fa560c72f1810c506cb83673a71ee72cd49 (patch)
tree58680ece5f2e810774f14007a86d554a713dff02 /roms
parentmicrovm: name qboot binary qboot.rom (diff)
downloadqemu-be404fa560c72f1810c506cb83673a71ee72cd49.tar.gz
qemu-be404fa560c72f1810c506cb83673a71ee72cd49.tar.xz
qemu-be404fa560c72f1810c506cb83673a71ee72cd49.zip
seabios: add microvm config, update build rules
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Sergio Lopez <slp@redhat.com> Message-id: 20200915120909.20838-3-kraxel@redhat.com
Diffstat (limited to 'roms')
-rw-r--r--roms/Makefile5
-rw-r--r--roms/config.seabios-microvm26
2 files changed, 30 insertions, 1 deletions
diff --git a/roms/Makefile b/roms/Makefile
index 1395a46695..1489d47350 100644
--- a/roms/Makefile
+++ b/roms/Makefile
@@ -72,9 +72,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 0000000000..a253e2edc6
--- /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