Skip to content

Releases: firecracker-microvm/firecracker

Firecracker-v0.5.0

15 Jun 17:18
Compare
Choose a tag to compare
Firecracker-v0.5.0 Pre-release
Pre-release

Added

  • Added metrics for API requests, VCPU and device actions for the serial console (UART), keyboard (i8042), block and network devices. Metrics are logged every 60 seconds.
  • A CPU features template for C3 is available, in addition to the one for T2.
  • Seccomp filters restrict Firecracker from calling any other system calls than the minimum set it needs to function properly. The filters are enabled by setting the USE_SECCOMP environment variable to 1 before running Firecracker.
  • Firecracker can be started by a new binary called jailer. The jailer takes as command line arguments a unique ID, the path to the Firecracker binary, the NUMA node that Firecracker will be assigned to and a uid and gid for Firecracker to run under. It sets up a chroot environment and a cgroup and calls exec to morph into Firecracker.

Changed

  • In case of failure, the metrics and the panic location are logged before aborting.
  • Metric values are reset with every flush.
  • CPUTemplate is now called CpuTemplate in order to work seamlessly with the swagger code generator for Go.
  • firecracker-beta.yaml is now called firecracker.yaml.

Fixed

  • Handling was added for several untreated KVM exit scenarios, which could have led to panic.
  • Fixed a bug that caused Firecracker to crash when attempting to disable the IA32_DEBUG_INTERFACE MSR flag in the T2 CPU features.

Removed

  • Removed a leftover file generated by the logger unit tests.
  • Removed firecracker-v1.0.yaml.

Firecracker-v0.4.0

08 Jun 20:42
Compare
Choose a tag to compare
Firecracker-v0.4.0 Pre-release
Pre-release

Added

  • The CPU Template can be set with an API call on PUT /machine-config. The only available template is T2.
  • Hyperthreading can be enabled/disabled with an API call on PUT /machine-config. By default, hyperthreading is disabled.
  • Added boot time performance test (tests/performance/test_boottime.py).
  • Added Rate Limiter for Virtio block and net devices. The Rate Limiter uses two token buckets to limit rate on bytes/s and ops/s. The rate limiter can be (optionally) configured per drive with a PUT on /drives/{drive_id} and per network interface with a PUT on /network-interface/{iface_id}.
  • Implemented pre-boot PUT updates for /boot-source, /drives, /network-interfaces and /vsock.
  • Added integration tests for PUT updates.

Changed

  • Moved the API definition (swagger/firecracker-beta.yaml) to the api_server crate.
  • Removed "console=ttyS0" and added "8250.nr_uarts=0" to the default kernel command line to decrease the boot time.
  • Changed the CPU topology to have all logical CPUs on a single socket.
  • Removed the upper bound on CPU count as with musl there is no good way to get the total number of logical processors on a host.
  • Build time tests now print the full output of commands.
  • Disabled the Performance Monitor Unit and the Turbo Boost.
  • Check the expected KVM capabilities before starting the VM.
  • Logs now have timestamps.

Fixed

  • testrun.sh can run on platforms with more than one package manager by setting the package manager via a command line parameter (-p).
  • Allow correct set up of multiple network-interfaces with autogenerated MAC.
  • Fixed sporadic bug in virtio which was causing lost packages.
  • Don't allow PUT requests with empty body on /machine-config.
  • Deny PUT operations after the microvm boots (exception: the temporarily fix for live resize of block devices).

Removed

  • Removed examples crate. This used to have a Python example of starting Firecracker. This is replaced by test_api.py integration tests.
  • Removed helper scripts for getting coverage and coding style errors. These were replaced by test_coverage.py and test_style.py test integration tests.
  • Removed --vmm-no-api command line option. Firecracker can only be started via the API.

Firecracker-v0.3.0

15 May 16:19
Compare
Choose a tag to compare
Firecracker-v0.3.0 Pre-release
Pre-release

Added

  • Users can interrogate the Machine Configuration (i.e. vcpu count and memory size) using a GET request on /machine-config.
  • The logging system can be configured through the API using a PUT on /logger.
  • Block devices support live resize by calling PUT with the same parameters as when the block was created.
  • Release builds have Link Time Optimization (LTO) enabled.
  • Firecracker is built with musl, resulting in a statically linked binary.
  • More in-tree integration tests were added as part of the continuous integration system.

Changed

  • The vcpu count is enforced to 1 or an even number.
  • The Swagger definition of rate limiters was updated.
  • Syslog-enabled logs were replaced with a hostfile backed mechanism.

Fixed

  • The host topology of the CPU and the caches is not leaked into the microvm anymore.
  • Boot time was improved by advertising the availability of the TSC deadline timer.
  • Fixed an issue which prevented Firecracker from working on 4.14 (or newer) host kernels.
  • Specifying the MAC address for an interface through the API is optional.

Removed

  • Removed support for attaching vsock devices.
  • Removed support for building Firecracker with glibc.

Firecracker-v0.2.0

04 Apr 15:20
Compare
Choose a tag to compare
Firecracker-v0.2.0 Pre-release
Pre-release
  • Users can now enforce that an emulated block device is read-only via the API.
    To specify whether a block device is read-only or read-write, an extra
    "permissions" field was added to the Drive definition in the API.
    The root filesystem is automatically mounted in the guest OS as ro/rw
    according to the specified "permissions". It's the responsibility of the user
    to mount any other read-only block device as such within the guest OS.
  • Users can now stop the guest VM using the API.
    Actions of type 'InstanceHalt' are now supported via the API.
  • Added support for getDeviceID() in virtIO-block.
    Without this, the guest Linux kernel would complain at boot time that
    the operation was unsupported.
  • STDIN control is returned to the Firecracker process when guest VM is inactive.
    Raw mode STDIN is forwarded to the guest OS when guest VM is running.
    'blockdev --report' and when checking /sys/block//ro).
  • Users can now interrogate Instance Information (currently just instance state)
    through the API.

Firecracker-v.0.1.0

05 Mar 10:08
Compare
Choose a tag to compare
Firecracker-v.0.1.0 Pre-release
Pre-release

Firecracker v0.1.0 consists of single Firecracker micro Virtual Machine Manager binary that will spawn a RESTful API endpoint when started. The API endpoint can be used to:

  • Add one or more vCPUs to the microVM.
  • Add memory to the microVM.
  • Add one or more network interfaces to the microVM.
  • Add one or more read/write disks (block devices) to the microVM.
  • Add one or more vSockets to the microVM.
  • Start the microVM using a given kernel image and root file system.

v0.1.0 is meant to allow customers to integrate Firecracker into their own development environments.