On Monday, 16 March 2020 18:03:13 CET Richard W.M. Jones wrote:
Somewhere I had a patch (for "old" p2v/) which got half way through fixing the openstack options.
Ah interesting: my idea for it was to provide a way to pass arbitrary output options (-oo) as kernel command line, and configurable in the UI. That's so far just an idea though.
I'll have to dig it up some time, but IIRC it depended rather crucially on having the generator generate p2v files, but since the "new" virt-p2v doesn't use the generator it probably wouldn't work.
It is true that p2v does not use the generator, however the files related to the configuration are still generated (by a Perl script, generate-p2v-config.pl). So IMHO it would be a matter of porting the code from OCaml to Perl. Feel free to send the work you had for this when you find it (no hurry), even if incomplete. Thanks, -- Pino Toscano