@dinmusic can we learn about the input file format from the initial qemu-img info call (which we would still want to wrap in apparmor etc) and then we can pass the concrete input file format to qemu-img convert?
I have included the ConversionOptions which are a list of strings that can be passed along the migration request.
I would aim at having format as default value at least at the beginning, since option virtio will require manual installation of virt-v2v-in-place on the host where LXD server is running.
I’ve also updated the spec to include the none conversion option and changes in shared/api.