Hi Sergio, Paolo,
On 10/18/19 12:53 PM, Sergio Lopez wrote:
microvm is a machine type inspired by Firecracker and constructed
after its machine model.
It's a minimalist machine type without PCI nor ACPI support, designed
for short-lived guests. microvm also establishes a baseline for
benchmarking and optimizing both QEMU and guest operating systems,
since it is optimized for both boot time and footprint.
Signed-off-by: Sergio Lopez <s...@redhat.com>
Reviewed-by: Michael S. Tsirkin <m...@redhat.com>
---
default-configs/i386-softmmu.mak | 1 +
include/hw/i386/microvm.h | 71 ++++
hw/i386/microvm.c | 572 +++++++++++++++++++++++++++++++
hw/i386/Kconfig | 10 +
hw/i386/Makefile.objs | 1 +
5 files changed, 655 insertions(+)
create mode 100644 include/hw/i386/microvm.h
create mode 100644 hw/i386/microvm.c
diff --git a/default-configs/i386-softmmu.mak b/default-configs/i386-softmmu.mak
index 4229900f57..4cc64dafa2 100644
--- a/default-configs/i386-softmmu.mak
+++ b/default-configs/i386-softmmu.mak
@@ -28,3 +28,4 @@
CONFIG_ISAPC=y
CONFIG_I440FX=y
CONFIG_Q35=y
+CONFIG_MICROVM=y
Do we want to maintain a 32-bit microvm?
IIUC the main interest in 64-bit.
Can we restrict it with this change?
-- >8 --
diff --git a/default-configs/i386-softmmu.mak
b/default-configs/i386-softmmu.mak
index 4cc64dafa2..4229900f57 100644
--- a/default-configs/i386-softmmu.mak
+++ b/default-configs/i386-softmmu.mak
@@ -28,4 +28,3 @@
CONFIG_ISAPC=y
CONFIG_I440FX=y
CONFIG_Q35=y
-CONFIG_MICROVM=y
diff --git a/default-configs/x86_64-softmmu.mak
b/default-configs/x86_64-softmmu.mak
index 64b2ee2960..ef2affe664 100644
--- a/default-configs/x86_64-softmmu.mak
+++ b/default-configs/x86_64-softmmu.mak
@@ -1,3 +1,4 @@
# Default configuration for x86_64-softmmu
include i386-softmmu.mak
+CONFIG_MICROVM=y
---
Thanks,
Phil.