Skip to content

Commit 51a6c74

Browse files
roypatJonathanWoollett-Light
authored andcommitted
Add CHANGELOG entry about ReadVolatile/WriteVolatile
Also fix a formatting error that snuck in with 0.12.1. Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
1 parent 20135ce commit 51a6c74

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

CHANGELOG.md

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

3+
## Unreleased
4+
5+
### Added
6+
- [[#247]](https://github.com/rust-vmm/vm-memory/pull/247) Add `ReadVolatile` and
7+
`WriteVolatile` traits which are equivalents of `Read`/`Write` with volatile
8+
access semantics.
9+
10+
### Changed
11+
12+
- [[#247]](https://github.com/rust-vmm/vm-memory/pull/247) Deprecate
13+
`Bytes::{read_from, read_exact_from, write_to, write_all_to}`. Instead use
14+
`ReadVolatile`/`WriteVolatile`, which do not incur the performance penalty
15+
of copying to hypervisor memory due to `Read`/`Write` being incompatible
16+
with volatile semantics (see also #217).
17+
18+
319
## [v0.12.2]
420

521
### Fixed

0 commit comments

Comments
 (0)