Skip to content

Conversation

@rbradford
Copy link
Member

Add support for specifying multiple files with --disk

Fixes: #2

Store the list of disks in a Vec<PathBuf> and then iterate over that
when creating the block devices.

Signed-off-by: Rob Bradford <[email protected]>
@rbradford rbradford requested review from sameo and sboeuf May 22, 2019 14:03
README.md Outdated
$ popd
```

Multiple arguments can be given to the `--disk` parameter, currently the firmware requires that the bootable image is on the ffirst disk.
Copy link
Member

Choose a reason for hiding this comment

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

s/ffirst/first/

README.md Outdated
`cloud-hypervisor` supports direct kernel boot into a `vmlinux` ELF kernel image.
You want to build such image first:
`cloud-hypervisor` also supports direct kernel boot into a `vmlinux` ELF kernel
image. You want to build such image first:
Copy link
Member

Choose a reason for hiding this comment

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

There are two spaces between . and You

Copy link
Member

@sboeuf sboeuf left a comment

Choose a reason for hiding this comment

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

Except two nits in the documentation, this change looks good to me.
We need to check that depending on the order we declare the disks from the command line, we get the expected /dev/vdX disks in the guest.

And fix the use of "also" that remained when the two sections on usage
were flipped around.

Signed-off-by: Rob Bradford <[email protected]>
@rbradford
Copy link
Member Author

We need to check that depending on the order we declare the disks from the command line, we get the expected /dev/vdX disks in the guest.

They are in the order as specified on the command line.

@rbradford rbradford merged commit 9900daa into cloud-hypervisor:master May 22, 2019
@rbradford rbradford deleted the multiple-disks branch May 22, 2019 16:47
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.

Add support for multiple disks

2 participants