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

Description of src/vmm/src/config/mod.rs #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VNSAditya02
Copy link

No description provided.

@@ -0,0 +1,135 @@
## Description of [src/vmm/src/config/mod.rs](https://github.com/codenet/vmm-reference/blob/main/src/vmm/src/config/mod.rs)

Choose a reason for hiding this comment

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

Testing

@@ -0,0 +1,135 @@
## Description of [src/vmm/src/config/mod.rs](https://github.com/codenet/vmm-reference/blob/main/src/vmm/src/config/mod.rs)

Choose a reason for hiding this comment

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

Testing

Comment on lines +5 to +7
pub(super) struct CfgArgParser {
args: HashMap<String, String>,
}

Choose a reason for hiding this comment

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

Testing

@@ -0,0 +1,135 @@
## Description of [src/vmm/src/config/mod.rs](https://github.com/codenet/vmm-reference/blob/main/src/vmm/src/config/mod.rs)
The VMMConfig struct implemented in this file is used in [main.rs](https://github.com/codenet/vmm-reference/blob/main/src/main.rs) file. If all the configurations are valid, then VM starts running.
This code uses CfgArgParser defined in [arg_parser.rs](https://github.com/codenet/vmm-reference/blob/main/src/vmm/src/config/arg_parser.rs). The CggArgParser is defined as below. It has a HashMap which stores 'parameter name' as key and the 'value of parameter' as value. The 'value_of' method defined in 'arg_parser.rs' file is used to get the value for a given parameter name.

Choose a reason for hiding this comment

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

testing

@@ -0,0 +1,135 @@
## Description of [src/vmm/src/config/mod.rs](https://github.com/codenet/vmm-reference/blob/main/src/vmm/src/config/mod.rs)
The VMMConfig struct implemented in this file is used in [main.rs](https://github.com/codenet/vmm-reference/blob/main/src/main.rs) file. If all the configurations are valid, then VM starts running.

Choose a reason for hiding this comment

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

Testing

@@ -0,0 +1,135 @@
## Description of [src/vmm/src/config/mod.rs](https://github.com/codenet/vmm-reference/blob/main/src/vmm/src/config/mod.rs)
The VMMConfig struct implemented in this file is used in [main.rs](https://github.com/codenet/vmm-reference/blob/main/src/main.rs) file. If all the configurations are valid, then VM starts running.

Choose a reason for hiding this comment

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

Testing

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.

7 participants