Include CPU Mode in image_meta

Registered by Prithiv

Add cpu_mode in image_meta through glance metadata defs. The CPU Mode values are: ``none, custom, host-model and host-passthrough``.
For the common hypervisor options like kvm and qemu, the cpu-mode is set to
``host-model`` by default. The image_meta value will take secondary precedence after flavors to override this
value. This allows the tenants to set cpu_mode for the image to boot up a guest instance

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
Prithiv
Direction:
Needs approval
Assignee:
Prithiv
Definition:
New
Series goal:
Proposed for ocata
Implementation:
Beta Available
Milestone target:
None
Started by
Prithiv

Related branches

Sprints

Whiteboard

The compute-host-capabilities.json file has to be modified to add cpu_info:mode. The enum values would be 'none', 'host-model', 'custom', and 'host-passthrough'

The glance-common-image-props.json has to be modified to add 'cpu_mode' field

(?)

Work Items

Work items:
Modify host capabilities: DONE
Modify glance common image meta: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.