Disk Images — QEMU 6.2.50 documentation
qemu.readthedocs.io › en › latestYou can create a disk image with the command: qemu-img create myimage.img mysize. where myimage.img is the disk image filename and mysize is its size in kilobytes. You can add an M suffix to give the size in megabytes and a G suffix for gigabytes. See the qemu-img invocation documentation for more information.
qemu-nbd man page - qemu-img - System Administration
www.mankier.com › 8 › qemu-nbdqemu-nbd -d dev. Description. Export a QEMU disk image using the NBD protocol. Other uses: Bind a /dev/nbdX block device to a QEMU server (on Linux). As a client to query exports of a remote NBD server. Options. filename is a disk image filename, or a set of block driver options if --image-opts is specified. dev is an NBD device.