Skip to content
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

Usage examples, doctests & cosmetic tweaks #23

Merged
merged 1 commit into from
May 26, 2020

Conversation

aghecenco
Copy link
Member

#17

src/cmdline/mod.rs Outdated Show resolved Hide resolved
/// let cl = Cmdline::new(100);
/// let cl_cstring = CString::new(cl).unwrap();
/// assert_eq!(cl_cstring.to_str().unwrap(), "");
/// ```
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#[derive(Clone)] is gone.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't appear to be needed anywhere, anyway.

src/loader/mod.rs Outdated Show resolved Hide resolved
src/loader/struct_util.rs Outdated Show resolved Hide resolved
src/loader/struct_util.rs Outdated Show resolved Hide resolved
src/loader/mod.rs Outdated Show resolved Hide resolved
Copy link

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR LGTM. Waiting for #26 to get merged will stop the discussions around struct_util module.

src/loader/struct_util.rs Outdated Show resolved Hide resolved
Copy link
Collaborator

@sameo sameo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I only have one nit, this looks pretty good and is very useful. Thanks for the PR.

src/lib.rs Outdated
//! This crates only supports x86_64 platforms because it implements support
//! for kernel image formats (vmlinux and bzImage) that are x86 specific.
//! Extending this crate to support other kernel image formats (e.g. ARM's Image) will make it
//! consumable by other platforms.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather keep the documentation current and modify it as part of PR #16

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If anything we could add the PVH support to the list.

Signed-off-by: Alexandra Iordache <aghecen@amazon.com>
@aghecenco aghecenco merged commit 1af92d2 into rust-vmm:master May 26, 2020
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.

None yet

6 participants