Skip to content

Commit

Permalink
qemu: use zstd for better compression performance
Browse files Browse the repository at this point in the history
Resolves #4211
  • Loading branch information
osy committed Jul 31, 2022
1 parent 9985b22 commit b49cd44
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Managers/UTMQemuImage.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import Foundation
qemuImg.pushArgv("convert")
if compressed {
qemuImg.pushArgv("-c")
qemuImg.pushArgv("-o")
qemuImg.pushArgv("compression_type=zstd")
}
qemuImg.pushArgv("-O")
qemuImg.pushArgv("qcow2")
Expand Down

0 comments on commit b49cd44

Please sign in to comment.