Skip to content

Commit 7eeb023

Browse files
release v0.4.0 - Updated README.md and CHANGELOG.md
Signed-off-by: Andreea Florescu <[email protected]>
1 parent 07f8939 commit 7eeb023

File tree

2 files changed

+49
-3
lines changed

2 files changed

+49
-3
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,46 @@
11
# Changelog
22

3+
## [0.4.0]
4+
5+
### Added
6+
7+
* The CPU Template can be set with an API call on PUT /machine-config. The only available template is T2.
8+
* Hyperthreading can be enabled/disabled with an API call on PUT /machine-config. By default, hyperthreading is disabled.
9+
* Added boot time performance test (tests/performance/test_boottime.py).
10+
* Added Rate Limiter for Virtio block and net devices. The Rate Limiter uses two token buckets to limit rate on bytes/s
11+
and ops/s. The rate limiter can be (optionally) configured per drive with a PUT on /drives/{drive_id} and per network
12+
interface with a PUT on /network-interface/{iface_id}.
13+
* Implemented pre-boot PUT updates for /boot-source, /drives, /network-interfaces and /vsock.
14+
* Added integration tests for PUT updates.
15+
16+
### Changed
17+
18+
* Moved the API definition (swagger/firecracker-beta.yaml) to the api_server crate.
19+
* Removed "console=ttyS0" and added "8250.nr_uarts=0" to the default kernel command line to decrease the boot time.
20+
* Changed the CPU topology to have all logical CPUs on a single socket.
21+
* Removed the upper bound on CPU count as with musl there is no good way to get the total number of logical processors
22+
on a host.
23+
* Build time tests now print the full output of commands.
24+
* Disabled the Performance Monitor Unit and the Turbo Boost.
25+
* Check the expected KVM capabilities before starting the VM.
26+
* Logs now have timestamps.
27+
28+
### Fixed
29+
30+
* testrun.sh can run on platforms with more than one package manager by setting the package manager via a command
31+
line parameter (-p).
32+
* Allow correct set up of multiple network-interfaces with autogenerated MAC.
33+
* Fixed sporadic bug in virtio which was causing lost packages.
34+
* Don't allow PUT requests with empty body on /machine-config.
35+
* Deny PUT operations after the microvm boots (exception: the temporarily fix for live resize of block devices).
36+
37+
### Removed
38+
* Removed examples crate. This used to have a Python example of starting Firecracker. This is replaced by test_api.py
39+
integration tests.
40+
* Removed helper scripts for getting coverage and coding style errors. These were replaced by test_coverage.py and
41+
test_style.py test integration tests.
42+
* Removed --vmm-no-api command line option. Firecracker can only be started via the API.
43+
344
## [0.3.0]
445

546
### Added

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,13 @@ and handles resource rate limiting for microVMs.
2424
Firecracker consists of a single micro Virtual Machine Manager binary that will
2525
spawn a RESTful API endpoint when started. The API endpoint can be used to:
2626

27-
- Add one or more vCPUs to the microVM.
28-
- Add memory to the microVM.
27+
- Configure the microvm by:
28+
- Change the number of vCPUs (the default is 1)
29+
- Change the memory size (the default is 128 MiB)
30+
- Set a CPU template (the only available template is T2 for now)
31+
- Enable/Disable hyperthreading (by default hyperthreading is disabled).
32+
The host needs to be modified before starting Firecracker as this flag
33+
only changes the topology inside the microvm.
2934
- Add one or more network interfaces to the microVM.
3035
- Add one or more read/write disks (file-backed block devices) to the microVM.
3136
- Configure the logging system (i.e. path on host for log file, log level, etc).
@@ -128,7 +133,7 @@ Simply issue the `InstanceStart` action to the `/actions` API resource.
128133
instances.
129134
1. Firecracker uses default values for the following parameters:
130135
1. Kernel Command Line:
131-
`console=ttyS0 noapic reboot=k panic=1 pci=off nomodules`. This can be
136+
`noapic reboot=k panic=1 pci=off nomodules 8250.nr_uarts=0`. This can be
132137
changed via the `/boot-source`.
133138
1. Number of vCPUs: 1. Default Memory Size: 128 MiB.
134139
1. Unix domain socket: `/tmp/firecracker.socket`.

0 commit comments

Comments
 (0)