Closed Zildj1an closed 9 months ago
Thanks for reviewing @00xc I have applied all your suggestions
Just added a commit documenting the memory regions
Thanks @00xc for your review, I have rebased and applied feedback
I'm getting the following error, I'm unsure it's related to my changes:
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> igvmbuilder/src/ovmf_firmware.rs:193:11
|
193 | data: &Vec<u8>,
| ^^^^^^^^ help: change this to: `&[u8]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `-D clippy::ptr-arg` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]`
error: could not compile `igvmbuilder` (bin "igvmbuilder") due to 1 previous error
I'm getting the following error, I'm unsure it's related to my changes:
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> igvmbuilder/src/ovmf_firmware.rs:193:11 | 193 | data: &Vec<u8>, | ^^^^^^^^ help: change this to: `&[u8]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `-D clippy::ptr-arg` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]` error: could not compile `igvmbuilder` (bin "igvmbuilder") due to 1 previous error
Please rebase on the updated main branch, I think that should fix it.
I'm getting the following error, I'm unsure it's related to my changes:
error: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> igvmbuilder/src/ovmf_firmware.rs:193:11 | 193 | data: &Vec<u8>, | ^^^^^^^^ help: change this to: `&[u8]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `-D clippy::ptr-arg` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::ptr_arg)]` error: could not compile `igvmbuilder` (bin "igvmbuilder") due to 1 previous error
Please rebase on the updated main branch, I think that should fix it.
Thanks @00xc looks like we're good now
Document memory management of (de)allocation operations and its related testing functions, and memory regions handling. This is related to issue #74 Document COCONUT-SVSM.