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

Support additional image types #22

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jakecorrenti
Copy link
Member

Extend the command line to support the new krun_add_disk2 API in libkrun. This will allow the user to specify non-Raw disk image formats. The list of supported disk image formats is now: Raw, Qcow2.

@jakecorrenti
Copy link
Member Author

Keeping this a draft for the time being since libkrun doesn't have a release cut with the Qcow2 commits

src/virtio.rs Outdated Show resolved Hide resolved
@tylerfanelli
Copy link
Collaborator

I think you can squash commits so there are just two. One for the implementation, and one for the documentation.

@jakecorrenti jakecorrenti force-pushed the support-additional-image-types branch from a08fa27 to 9e1ffbb Compare December 18, 2024 14:02
Link with libkrun's new `krun_add_disk2` API to allow the user to use
either a Raw or Qcow2 disk image.

Adds the `format` argument to the `virtio-blk` device.

Signed-off-by: Jake Correnti <[email protected]>
Updates the virtio-blk documentation to specify the new `format`
arugment.

Signed-off-by: Jake Correnti <[email protected]>
@jakecorrenti jakecorrenti force-pushed the support-additional-image-types branch from 9e1ffbb to 3d1ded1 Compare December 18, 2024 14:04
Copy link
Collaborator

@tylerfanelli tylerfanelli left a comment

Choose a reason for hiding this comment

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

LGTM. We'll wait for the libkrun release.

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.

2 participants