[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v11 14/15] hw/i386: Introduce the microvm machine type
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v11 14/15] hw/i386: Introduce the microvm machine type |
Date: |
Wed, 30 Oct 2019 10:25:53 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 |
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 <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
---
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.
- [PATCH v11 06/15] hw/i386/pc: remove commented out code from x86_load_linux(), (continued)
- [PATCH v11 06/15] hw/i386/pc: remove commented out code from x86_load_linux(), Sergio Lopez, 2019/10/18
- [PATCH v11 07/15] hw/i386/pc: move shared x86 functions to x86.c and export them, Sergio Lopez, 2019/10/18
- [PATCH v11 09/15] hw/i386: make x86.c independent from PCMachineState, Sergio Lopez, 2019/10/18
- [PATCH v11 10/15] fw_cfg: add "modify" functions for all types, Sergio Lopez, 2019/10/18
- [PATCH v11 08/15] hw/i386: split PCMachineState deriving X86MachineState from it, Sergio Lopez, 2019/10/18
- [PATCH v11 11/15] hw/intc/apic: reject pic ints if isa_pic == NULL, Sergio Lopez, 2019/10/18
- [PATCH v11 12/15] roms: add microvm-bios (qboot) as binary and git submodule, Sergio Lopez, 2019/10/18
- [PATCH v11 13/15] docs/microvm.rst: document the new microvm machine type, Sergio Lopez, 2019/10/18
- [PATCH v11 15/15] MAINTAINERS: add microvm related files, Sergio Lopez, 2019/10/18
- [PATCH v11 14/15] hw/i386: Introduce the microvm machine type, Sergio Lopez, 2019/10/18
- Re: [PATCH v11 14/15] hw/i386: Introduce the microvm machine type,
Philippe Mathieu-Daudé <=