Skip to content

Support additional image types#22

Merged
tylerfanelli merged 2 commits into
libkrun:mainfrom
jakecorrenti:support-additional-image-types
Jan 17, 2025
Merged

Support additional image types#22
tylerfanelli merged 2 commits into
libkrun:mainfrom
jakecorrenti:support-additional-image-types

Conversation

@jakecorrenti
Copy link
Copy Markdown
Collaborator

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
Copy Markdown
Collaborator Author

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

Comment thread src/virtio.rs Outdated
@tylerfanelli
Copy link
Copy Markdown
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 <jakecorrenti+github@proton.me>
Updates the virtio-blk documentation to specify the new `format`
arugment.

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
@jakecorrenti jakecorrenti force-pushed the support-additional-image-types branch from 9e1ffbb to 3d1ded1 Compare December 18, 2024 14:04
Comment thread src/virtio.rs
Copy link
Copy Markdown
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.

@jakecorrenti jakecorrenti marked this pull request as ready for review January 17, 2025 14:20
@jakecorrenti jakecorrenti requested a review from slp as a code owner January 17, 2025 14:20
@jakecorrenti
Copy link
Copy Markdown
Collaborator Author

libkrun 1.10 got released, so marking this as ready for review

@tylerfanelli tylerfanelli merged commit 271f55d into libkrun:main Jan 17, 2025
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