Comments (5)
qemu-img is efficient, supports all images formats, well maintained, and available everywhere.
On macOS, it is hard to install qemu-img
when Homebrew/MacPorts/nix is disallowed due to employers' policy
from lima.
Fix:
- use
qemu-img convert
if available
It would be better to fix the speed of the builtin conversion so it will be fast even when QEMU is not installed. Given that the default emulation in Lima 1.0 will be VZ, qemu will be an optional dependency.
from lima.
I don't think that reinventing qemu-img good direction. The time spent on it can be spent on features that that add values to users. qemu-img is efficient, supports all images formats, well maintained, and available everywhere.
from lima.
You can default to qemu-img
(where available), and then fallback to the library as a slower fallback option?
We have used this trick elsewhere, like with SFTP or with XZ. The downside is having two code paths to test...
from lima.
This may have a room for optimization
https://github.com/lima-vm/go-qcow2reader/blob/v0.1.2/image/qcow2/qcow2.go#L795-L800
from lima.
Related Issues (20)
- Bound ports are not released immediately when container is stopped/deleted HOT 11
- Figure out why archlinux CI is broken HOT 2
- nerdctl start fails 2 of 3 times with bridge errors HOT 2
- Dependabot wasn't able to update downloading
- cross-vm network connectivity issue when using socket_vmnet
- Lima fails to install on fedora 40 using homebrew HOT 1
- docker build using colima with lima v0.23.1 hangs HOT 10
- guest agent events closed unexpectedly error="rpc error: code = Unavailable desc = error reading from server: EOF" HOT 7
- v0.23.2 planning HOT 1
- Replace al.essio.dev/pkg/shellescape HOT 1
- The ls-lint is missing from "make lint", but is only run in github CI HOT 1
- Host agent process running in the foreground even when not using --foreground
- `limactl create --name=xyz` fails if instance xyz already exists but `limactl create --name=xyz template://default` opens a configuration prompt
- Hostagent logs are too noisy HOT 1
- Improve logging of essential and optional requirements in hostagent logs HOT 1
- Unneeded convert and actual copy of basedisk for every instance when using qcow2 image HOT 4
- Progress written when logging to file HOT 1
- Machine friendly logs
- Dropped DNS/UDP requests on user-v2 network
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lima.