commit 2a236d24a84875ee17df427ed90457414aaa9149
Author: Daniel P. Berrange <email address hidden>
Date: Tue Jun 19 14:42:59 2012 +0100
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 <email address hidden>
Reviewed: https:/ /review. openstack. org/8696 github. com/openstack/ nova/commit/ 2a236d24a84875e e17df427ed90457 414aaa9149
Committed: http://
Submitter: Jenkins
Branch: master
commit 2a236d24a84875e e17df427ed90457 414aaa9149
Author: Daniel P. Berrange <email address hidden>
Date: Tue Jun 19 14:42:59 2012 +0100
Add compatibility for CPU model config with libvirt < 0.9.10
Libvirt versions prior to 0.9.10 do not support the simpler passthrough at all with these
'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-
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 xml-cpu- model 8454f810efeb5c2 01aab94ddb0
Implements: blueprint libvirt-
Change-Id: I3e55ffccf38be1
Signed-off-by: Daniel P. Berrange <email address hidden>