Wei Zhou created CLOUDSTACK-4678: ------------------------------------ Summary: Add cpu model for kvm guest Key: CLOUDSTACK-4678 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4678 Project: CloudStack Issue Type: Improvement Security Level: Public (Anyone can view this level - this is the default.) Affects Versions: 4.2.0 Reporter: Wei Zhou Fix For: 4.2.0
Add cpu model for kvm guest. Now all the kvm guest's cpu model is 'QEMU Virtual CPU version xxx'. This will affect the activation of Windows OS and low performance. I add three mode for user to indicate the guest cpu model. For the most part it will be sufficient for the host administrator to specify the guest CPU config in the per-host configuration file (/etc/cloudstack/agent/agent.properties). This will be achieved by introducing two new configuration parameters: guest.cpu.mode=custom|host-model|host-passthrough guest.cpu.model=from /usr/share/libvirt/cpu_map.xml(only valid when guest.cpu.mode=custom) This ticket is created for two existing commits: Add cpu model for kvm guest https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=2903bb5fd9d59803980102854d11e33ebe56088b add doc for kvm cpu model https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=object;h=8d53887cec514e1eeed899e4d6b6465b02aa39a3 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira