[Libguestfs] [PATCH 4/4] v2v: Pass CPU vendor, model and topology from source to target.

Pino Toscano ptoscano at redhat.com
Fri Mar 17 09:43:41 UTC 2017


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20170317/31f47acd/attachment.sig>


More information about the Libguestfs mailing list