qemu-devel
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]