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
Merged

Conversation

alxiord
Copy link
Member

@alxiord alxiord commented Mar 9, 2020

#17

src/cmdline/mod.rs Outdated Show resolved Hide resolved
@alxiord alxiord force-pushed the doc branch 2 times, most recently from 025a572 to eb36313 Compare March 10, 2020 08:58
/// 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.

@alxiord alxiord force-pushed the doc branch 4 times, most recently from 14813ea to 1acf932 Compare May 25, 2020 14:21
Signed-off-by: Alexandra Iordache <[email protected]>
@alxiord alxiord 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.

6 participants