1.

What Is The Use Of The Command Qemu-img?

Answer»

Qemu as an emulator ALLOW the user to enjoy the virtualization on their system without the need to install a OS separately. Qemu provides qemu-img command to create the hard disk. This command is used to create images of various formats LIKE qcow (QEMU copy-on-write). This format allows the size of the disk image is different from the file that is physically present. It creates a COMPACT image such that the size decreases and the image that gets produced is compressed to make it protable. 

For example: to create a disk image of 128 MB the following code will be WRITTEN.

Qemu-img create -f qcow disk.img 128MB

Qemu as an emulator allow the user to enjoy the virtualization on their system without the need to install a OS separately. Qemu provides qemu-img command to create the hard disk. This command is used to create images of various formats like qcow (QEMU copy-on-write). This format allows the size of the disk image is different from the file that is physically present. It creates a compact image such that the size decreases and the image that gets produced is compressed to make it protable. 

For example: to create a disk image of 128 MB the following code will be written.

Qemu-img create -f qcow disk.img 128MB



Discussion

No Comment Found