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’s compatible with Hyper-V, KVM, VMware, VirtualBox and Xen virtualization solutions.This build has been optimized for Windows Server (x64), including Windows Nano Server.

Usage examples

Convert a QCOW2, RAW, VMDK or VDI image to VHDX

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

Convert a QCOW2, RAW, VMDK or VDI image to VHD

1 qemu-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 Azure, the conversion will automatically take care of the required 1MB virtual size alignment.

Check a virtual disk for consistency

1 qemu-img.exe check source.qcow2

Get info about a virtual disk

1 qemu-img.exe info image.qcow2

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

https://cloudbase.it/wp-content/uploads/2015/06/Screen-Shot-2015-06-22-at-21.35.40.png

https://cloudbase.it/wp-content/uploads/2015/06/Screen-Shot-2015-06-22-at-21.36.43.png

Supported formats

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

Download binaries

qemu-img 2.3.0 for Windows x64

Links

Source code: https://github.com/cloudbase/qemu
QEMU’s project main page: http://www.qemu.org
Alternative QEMU binaries: http://qemu.weilnetz.de/
Documentation: http://qemu.weilnetz.de/qemu-doc.html#qemu_005fimg_005finvocation

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *