Guest CPU selection with hypervisor consideration

Registered by Kashyap Chamarthy on 2019-02-16

The current guest CPU configuration libvirt APIs that Nova uses, compareCPU() and baselineCPU(), are "not very useful", because they ignore the capabilities of the host hypervisor (QEMU and KVM). To solves this, upstream libvirt (since 4.0.0, which requires QEMU 2.9 or above, for x86_64) has introduced two new CPU configuration APIs: baselineHypervisorCPU() and compareHypervisorCPU(). As their names indicate, these APIs are designed to take into account the capabilities of the host hypervisor. Rework Nova's CPU selection logic to incorporate these "hypervisor-literate" CPU configuration APIs. This will allow more accurate, and reliable guest CPU configuration.

Blueprint information

Status:
Not started
Approver:
Eric Fried
Priority:
Low
Drafter:
Kashyap Chamarthy
Direction:
Approved
Assignee:
Kashyap Chamarthy
Definition:
Pending Approval
Series goal:
None
Implementation:
Not started
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/cpu-selection-with-hypervisor-consideration,n,z

Addressed by: https://review.openstack.org/645814
    Add "CPU selection with hypervisor consideration" spec

Gerrit topic: https://review.opendev.org/#/q/topic:bp/cpu-selection-with-hypervisor-consideration

Addressed by: https://review.opendev.org/645814
    Add "CPU selection with hypervisor consideration" spec

Approved for Train. -- mriedem 20190425

Deferring this from Train since we're 2 weeks from feature freeze and there is no code up for this yet. -- mriedem 20190829

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.