Default machine type for libvirt does not work with ARM

Bug #1261978 reported by Ripal Nathuji
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Ripal Nathuji

Bug Description

Today Nova does not pass a specific machine type in the libvirt XML configuration file, resulting in the use of a default machine type. In some cases the operator may want to use a non-default machine type. For example, with ARM by default the machine type is integratorcp, but users need to use the virt model or others such as vexpress-a15 with KVM

Tags: libvirt
Changed in nova:
assignee: nobody → Ripal Nathuji (ripal-nathuji)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/62775

Changed in nova:
status: New → In Progress
tags: added: libvirt
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/62775
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=8727745562d63149ad16f1ef07cbedcf506076da
Submitter: Jenkins
Branch: master

commit 8727745562d63149ad16f1ef07cbedcf506076da
Author: Ripal Nathuji <email address hidden>
Date: Sun Dec 22 11:42:26 2013 -0600

    Support setting a machine type to enable ARMv7/AArch64 guests to boot

    By default the libvirt driver does not specify a machine type. On ARM systems
    that results in a default type which will fail. This change provides two ways
    to have Nova specify a machine type in the libvirt configuration:

    1) The image can be tagged with the property "hw_machine_type=<type>"
    2) If Nova detects an armv7 or aarch64 processor it will use vexpress-a15 or
       virt machine types respectively (this can be overridden with an image
       property)

    Change-Id: I8aadfcf50e35a1370783ea795f80b29c1a71abff
    Closes-Bug: #1261978
    DocImpact

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-3
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.