Skip to content

Define the common interface for qemuimgutil and nativeimgutil #3518

Closed
@AkihiroSuda

Description

@AkihiroSuda

https://github.com/lima-vm/lima/blob/master/pkg/qemu/imgutil/imgutil.go
https://github.com/lima-vm/lima/blob/master/pkg/nativeimgutil/nativeimgutil.go

These package should implement the common interface.

  • pkg/imgutil: define the interface`
  • pkg/imgutil/nativeimgutil: native implementation
  • pkg/imgutil/qemuimgutil: qemu-img implementation

Probably there should be also pkg/imgutil/proxyimgutil (name is tentative) that attempts qemuimgutil first and then fall back to nativeimgutil?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions