-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaning up create_fdt #4712
Cleaning up create_fdt #4712
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4712 +/- ##
=======================================
Coverage 84.38% 84.38%
=======================================
Files 249 249
Lines 27494 27496 +2
=======================================
+ Hits 23201 23203 +2
Misses 4293 4293
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
ah, rip, I missed that. Oh well, this is still an improvement :D Could you have a look at fixing the compilation errors/warnings, though? :o |
Hi @jackabald, |
Hi @jackabald, are you still working on this? |
hey @ShadowCurse , sorry haven't looked at this in a bit. I am having troubles finding why the build is failing. If you could take a look that would be great! |
So the issue is in the absence of |
664c7c3
to
fc6cfb3
Compare
From: jackabald <jwarchibald@wisc.edu> - removes writing to memory in create_fdt - add functionality of writing to memory in configure_system - uses previously unused return value of create_fdt to write fdt to memory Signed-off-by: jackabald <jwarchibald@wisc.edu> Signed-off-by: Patrick Roy <roypat@amazon.co.uk>
fc6cfb3
to
77eabb9
Compare
Hi @jackabald, |
Changes
Adds fdt to guest memory at the location
create_fdt
is called not increate_fdt
.Removes unnecessary
std::hash::BuildHasher
parameterization....
Reason
@roypat we are not able to remove the
GuestMemoryMmap
parameter because we use it to create the memory node.However, this updated code now writes the fdt to guest memory at the site of the caller utilizing the previously unused return value from
create_fdt
.Clean up
create_fdt
function insrc/vmm/src/arch/aarch64/fdt.rs
#4700...
License Acceptance
By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache 2.0 license. For more information on following Developer
Certificate of Origin and signing off your commits, please check
CONTRIBUTING.md
.PR Checklist
PR.
CHANGELOG.md
.TODO
s link to an issue.contribution quality standards.
rust-vmm
.