[#217](rust-vmm/vm-memory#217) Fix vm-memory internally
taking rust-style slices to guest memory in ways that could potentially cause
undefined behavior. Removes/deprecates various as_slice/as_slice_mut methods
whose usage violated rust's aliasing rules, as well as an unsound
impl<'a> VolatileMemory for &'a mut [u8].
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Updates the requirements on vm-memory to permit the latest version.
Changelog
Sourced from vm-memory's changelog.
... (truncated)
Commits
b55a713
Prepare release 0.11.01bdb2be
Adjust coverage for x868e04b55
Replace impl VolatileMemory for &mut [u8]595b5a7
Remove VolatileSlice::as_slice/as_mut_slice7b16aeb
Remove theAsSlice
traitaefa2ed
Make copy_slice operate on pointers instead of slices641d08f
Make copy_slice_volatile use pointers instead of slices06e797b
build(deps): bump rust-vmm-ci from607c775
toc2f8c93
79c5445
mmap: Fix clippy issue1696fa6
mmap: Add GuestRegionMmap::from_region()You can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)