Skip to content

huaweicloud/ims-qemu-img

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages