summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2012-06-19 14:42:59 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-07-02 19:59:33 +0100
commit2a236d24a84875ee17df427ed90457414aaa9149 (patch)
tree656419955e70b5189668f56e76805f7a597ef9ff /nova/openstack
parent7504c13711da5e372918b60393f497349e523994 (diff)
downloadnova-2a236d24a84875ee17df427ed90457414aaa9149.tar.gz
nova-2a236d24a84875ee17df427ed90457414aaa9149.tar.xz
nova-2a236d24a84875ee17df427ed90457414aaa9149.zip
Add compatibility for CPU model config with libvirt < 0.9.10
Libvirt versions prior to 0.9.10 do not support the simpler 'mode' attribute for choosing CPU model. So with such libvirt releases we must explicitly construct the guest CPU model from the host capabilities info when mode=host-model. We can not support mode=host-passthrough at all with these earlier libvirt versions This change can be reverted in the future, if the value of the MIN_LIBVIRT_VERSION constant is increased to 0.9.10 or later Fixes: bug #1003373 Implements: blueprint libvirt-xml-cpu-model Change-Id: I3e55ffccf38be18454f810efeb5c201aab94ddb0 Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions