wiki/virt/vm/firmware.md

44 lines
2.0 KiB
Markdown
Raw Normal View History

2022-01-25 14:50:13 +00:00
---
title: Firmware
description:
published: true
2022-01-25 16:19:09 +00:00
date: 2022-01-25T16:19:07.886Z
2022-01-25 14:50:13 +00:00
tags:
editor: markdown
dateCreated: 2022-01-25T14:50:10.751Z
---
2022-01-25 16:10:43 +00:00
# Platform firmware
2022-01-25 14:50:13 +00:00
2022-01-25 16:17:10 +00:00
> *Firmware are software that are tightly integrated with the hardware. Almost every devices are shipping with some kind of firmware associated to it. For instance, motherboards include such programs, which in their case is tasked to properly boot hardware devices such as RAM modules, check their state and make them ready-to-use by an operating system.*
2022-01-25 16:10:43 +00:00
Virtual devices, including virtual motherboards, are also shipping with firmware, or platform firmware.
## Available platform firmware for virtual machines
### SeaBIOS
[SeaBIOS](https://www.seabios.org/SeaBIOS) is an implementation of a x86 BIOS which relies on [Coreboot](https://www.coreboot.org/) and can be used to boot virtual machines. It is not compatible with UEFI but, as a result, is simpler.
### OVMF
[OVMF](https://github.com/tianocore/tianocore.github.io/wiki/OVMF), which stands for Open Virtual Machine Firmware, is a UEFI compatible firmware. It is part of the larger [TianoCore](https://www.tianocore.org/) project, which provides an open-source implementation of a platform firmware that follows UEFI specifications. It is the default method to boot UEFI-based operating systems.
### Rust Hypervisor Firmware
2022-01-25 16:16:37 +00:00
The [Rust Hypervisor Firmware](https://github.com/cloud-hypervisor/rust-hypervisor-firmware) (RHF) is a UEFI compatible firmware. It is focused on simplicity and performance and is designed for virtual workloads. It ships by default alongside the Cloud Hypervisor.
2022-01-25 16:10:43 +00:00
## Comparaison
| | SeaBIOS | OVMF | RHF |
| :-- | :-: | :-: | :-: |
| *BIOS* | **Yes** | No | No |
| *UEFI* | No | **Yes** | **Yes** |
| *Secureboot* | No | **Yes** | **Yes** |
| *Chipset support* | `i440fx` `Q35` | `i440fx` `Q35` | `Q35`? `virt` |
2022-01-25 16:16:37 +00:00
| *Guest support* | **Linux** / **Windows** | **Linux** / **Darwin** / **Windows** | **Windows** / **Linux** |
| *Virtual Function I/O* | No | Yes | Yes |
---
*[**Go back to parent page**](/virt/vm)*