On Thursday, 16 March 2017 19:57:15 CET Richard W.M. Jones wrote:
Where supported, pass the source CPU vendor, model and topology to
the
target hypervisor.
For -i ova, we can get just cores per socket via a proprietary VMware
extension to OVF.
For -i libvirt and from virt-p2v, we can get all of these fields from
the libvirt XML.
For -o libvirt/local, we can preserve all of the information in the
target XML.
For -o glance, as far as I can tell from the documentation, Glance
does not support anything like this.
It looks like there are properties for this:
https://docs.openstack.org/cli-reference/glance-property-keys.html
see hw_cpu_sockets, hw_cpu_cores, hw_cpu_threads, and hw_machine_type.
The rest of the patch LGTM, just a pity OCaml does not have unsigned
types in the stdlib...
Thanks,
--
Pino Toscano