wiki/virt/vm/firmware.md

45 lines
2.2 KiB
Markdown
Raw Normal View History

2022-01-25 14:50:13 +00:00
---
title: Firmware
description:
published: true
2022-01-25 21:56:43 +00:00
date: 2022-01-25T21:56:41.651Z
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 20:55:04 +00:00
Virtual devices, including virtual chipsets, are shipping alongside platform firmware.
2022-01-25 16:10:43 +00:00
2022-01-25 20:55:04 +00:00
> ***Definition**: 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.*
{.is-info}
2022-01-25 16:10:43 +00:00
## Available platform firmware for virtual machines
### SeaBIOS
2022-01-25 20:55:04 +00:00
[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 incompatible with UEFI but, as a result, is simpler.
2022-01-25 16:10:43 +00:00
### OVMF
2022-01-25 20:55:04 +00:00
[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 in a virtual machine.
2022-01-25 16:10:43 +00:00
### Rust Hypervisor Firmware
2022-01-25 20:55:04 +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 is tightly integrated with the Cloud Hypervisor.
2022-01-25 16:10:43 +00:00
2022-01-25 20:55:04 +00:00
## Comparison
2022-01-25 16:10:43 +00:00
| | SeaBIOS | OVMF | RHF |
| :-- | :-: | :-: | :-: |
| *BIOS* | **Yes** | No | No |
| *UEFI* | No | **Yes** | **Yes** |
| *Secureboot* | No | **Yes** | **Yes** |
2022-01-25 21:56:43 +00:00
| *Chipset support* | [`i440fx`](/virt/vm/chipset#i440fx) / [`Q35`](/virt/vm/chipset#q35) | [`i440fx`](/virt/vm/chipset#i440fx) / [`Q35`](/virt/vm/chipset#q35) | [`Q35`](/virt/vm/chipset#q35)? / [`virt`](/virt/vm/chipset#virt) |
2022-01-25 20:55:04 +00:00
| *Guest support* | **Linux** / **Windows** | **Linux** / **Darwin** / **Windows** | **Linux** / **Windows** |
2022-01-25 16:16:37 +00:00
| *Virtual Function I/O* | No | Yes | Yes |
---
*[**Go back to parent page**](/virt/vm)*