# ims-qemu-img **Repository Path**: mirrors_huaweicloud/ims-qemu-img ## Basic Information - **Project Name**: ims-qemu-img - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-08 - **Last Updated**: 2025-10-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ims-qemu-img ZVHD/ZVHD2 is a private image format for Huaweicloud. This module is based on qemu 2.3.0 version to support zvhd/zvhd2 format convert from/to other formats by qemu-img command ## How to use this module? ### Requirement The development environment for compiling this module consists of: - qemu 2.3.0 version - zstd library Install the necessary development packages: ``` yum groupinstall "Development tools" yum install glib2-devel yum install zlib-devel yum install openssl-devel yum install libuuid-devel ``` ### Compile Download,compile and install zstd library: ``` https://github.com/facebook/zstd ``` Enter the source code directory and compile the module: ``` make make install ``` Download qemu 2.3.0 version: ``` https://download.qemu.org/qemu-2.3.0.tar.bz2 ``` Depress qemu-2.3.0.tar.bz2 Copy all the 'src' files of this module to 'qemu-2.3.0/block' directory Enter the 'qemu-2.3.0' directory,configure and compile ``` ./configure --target-list=x86_64-softmmu --enable-uuid --disable-werror make ``` The qemu-img support zvhd/zvhd2 format is in the 'qemu-2.3.0' directory. ``` ./qemu-img --help ``` Now the 'Supported formats' of qemu-img includ zvhd and zvhd2.