Skip to content

Conversation

@dianpopa
Copy link
Contributor

Reason for This PR

Previous version of tempfile from vmm_sys_util
did not offer the interface for owning the File inside
the TempFile. This limitation was solved by rust-vmm/vmm-sys-util#70.

Description of Changes

Adjusted all unit tests. Fixes #1466.

  • This functionality can be added in rust-vmm.

License Acceptance

By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license.

PR Checklist

[Author TODO: Meet these criteria.]
[Reviewer TODO: Verify that these criteria are met. Request changes if not]

  • All commits in this PR are signed (git commit -s).
  • The reason for this PR is clearly provided (issue no. or explanation).
  • The description of changes is clear and encompassing.
  • Any required documentation changes (code and docs) are included in this PR.
  • Any newly added unsafe code is properly documented.
  • Any API changes are reflected in firecracker/swagger.yaml.
  • Any user-facing changes are mentioned in CHANGELOG.md.

Previous version of tempfile from vmm_sys_util
did not offer the interface for owning the File inside
the TempFile. Now it does and unit tests were updated.

Signed-off-by: Popa <dpopa@amazon.com>
@andreeaflorescu andreeaflorescu merged commit 6a4bb66 into firecracker-microvm:master Mar 17, 2020
@dianpopa dianpopa deleted the little_fixes_6 branch July 20, 2020 12:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use TempFile as owned File to avoid manual File reopening - waiting on support from rust-vmm/vmm-sys-util

3 participants