Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
2 changed files
with
113 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters