'Creates a QCOW2 file of a given size in GiB.'

def _create_qcow2_file(self, path, size_gb):

    self._execute('qemu-img', 'create', '-f', 'qcow2', '-o', 'preallocation=metadata', path, str((size_gb * units.Gi)), run_as_root=self._execute_as_root)
