×

qemu-img for Windows

hqy hqy 发表于2023-01-17 11:36:30 浏览300 评论0

抢沙发发表评论

qemu-img for Windows

QEMU disk image utility for Windows. It is used for converting, creating, and consistency checking of various virtual disk formats. It is compatible with Hyper-V, KVM, VMware, VirtualBox, and Xen virtualization solutions. This build has been optimized for Windows Server (x64).





Usage examples
Convert a QCOW2, RAW, VMDK or VDI image to VHDX
qemu-img.exe convert source.img -O vhdx -o subformat=dynamic dest.vhdx

1qemu-img.exe convert source.img -O vhdx -o subformat=dynamic dest.vhdx



Convert a QCOW2, RAW, VMDK or VDI image to VHD
qemu-img.exe convert source.img -O vpc -o subformat=dynamic dest.vhd

1qemu-img.exe convert source.img -O vpc -o subformat=dynamic dest.vhd



Subformat can be either “dynamic” or “fixed” for VHD (vpc) or VHDX.
Note: use the fixed VHD subformat for machines/linux/create-upload-generic" class=" wrap external" target="_blank" rel="nofollow noreferrer" data-za-detail-view-id="1043" style="text-decoration-line: none; border-bottom: 1px solid rgb(128, 128, 128); cursor: pointer;">Azure, the conversion will automatically take care of the required 1MB virtual size alignment.

Check a virtual disk for consistency
qemu-img.exe check source.qcow2

1qemu-img.exe check source.qcow2



Get info about a virtual disk
qemu-img.exe info image.qcow2

1qemu-img.exe info image.qcow2



Run qemu-img.exe -h or see the manual page for a complete list of all supported options.










Supported formats

Image formatArgument for -f and -O options
VMDK (VMware)vmdk
QCOW2 (KVM, Xen)qcow2
VHD (Hyper-V)vpc
VHDX (Hyper-V)vhdx
RAWraw
VDI (VirtualBox)vdi

Download binaries
qemu-img 2.3.0 for Windows x64


打赏

本文链接:https://www.kinber.cn/post/3547.html 转载需授权!

分享到:


推荐本站淘宝优惠价购买喜欢的宝贝:

image.png

 您阅读本篇文章共花了: 

群贤毕至

访客