aboutsummaryrefslogtreecommitdiff
path: root/include/hw/i386
diff options
context:
space:
mode:
authorErich-McMillan <erich.mcmillan@hp.com>2020-12-08 09:53:38 -0600
committerMichael S. Tsirkin <mst@redhat.com>2020-12-09 13:04:17 -0500
commit0657c657eb37bb48bfd9fe3ae8a323ae3455f47b (patch)
tree1b7f86b752626acbd402152e640e8825a1918e75 /include/hw/i386
parent552c2c4c101335e67ac8ae8ab022d88a8795f2ac (diff)
downloadqemu-0657c657eb37bb48bfd9fe3ae8a323ae3455f47b.zip
qemu-0657c657eb37bb48bfd9fe3ae8a323ae3455f47b.tar.gz
qemu-0657c657eb37bb48bfd9fe3ae8a323ae3455f47b.tar.bz2
hw/i386/pc: add max combined fw size as machine configuration option
At Hewlett Packard Inc. we have a need for increased fw size to enable testing of our custom fw. Rebase v6 patch to d73c46e4 Signed-off-by: Erich McMillan <erich.mcmillan@hp.com> Message-Id: <20201208155338.14-1-erich.mcmillan@hp.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/i386')
-rw-r--r--include/hw/i386/pc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h
index 49dfa66..2aa8797 100644
--- a/include/hw/i386/pc.h
+++ b/include/hw/i386/pc.h
@@ -44,6 +44,7 @@ typedef struct PCMachineState {
bool sata_enabled;
bool pit_enabled;
bool hpet_enabled;
+ uint64_t max_fw_size;
/* NUMA information: */
uint64_t numa_nodes;
@@ -60,6 +61,7 @@ typedef struct PCMachineState {
#define PC_MACHINE_SMBUS "smbus"
#define PC_MACHINE_SATA "sata"
#define PC_MACHINE_PIT "pit"
+#define PC_MACHINE_MAX_FW_SIZE "max-fw-size"
/**
* PCMachineClass: