def create_image(disk_format, path, size):
    execute('qemu-img', 'create', '-f', disk_format, path, size)
Create a disk image
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/libvirt/utils.py/create_image