Bug 610805

Summary: Move CPU definitions to /usr/share/...
Product: Red Hat Enterprise Linux 6 Reporter: Jiri Denemark <jdenemar>
Component: qemu-kvmAssignee: john cooper <john.cooper>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: high    
Version: 6.0CC: ehabkost, llim, michen, mkenneth, nobody, tburke, virt-maint
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.95.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 675229 (view as bug list) Environment:
Last Closed: 2010-11-10 21:26:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 605830, 675229    

Description Jiri Denemark 2010-07-02 13:38:13 UTC
Description of problem:

Currently CPU defs are part of /etc/qemu/target-x86_64.conf configuration file, which has a number of problems

- it's not loaded when -nodefconfig option is given, which makes the CPU definitions useless for libvirt
- it is asking to be edited by users
- it can't always be automatically replaced by a new version when upgrading qemu-kvm

It's desired to move the CPU definitions to some file(s) in /usr/share/ from where they could be unconditionally loaded. This will also allow for easy future updates of the definitions.

In other words, the following command should list all the new CPU models:

/usr/libexec/qemu-kvm -nodefconfig -cpu ?

Comment 5 Miya Chen 2010-07-30 09:02:10 UTC
Test with qemu-kvm-0.12.1.2-2.104.el6.x86_64, he following command should list all the new CPU models, so this bug has been fixed.
# /usr/libexec/qemu-kvm -nodefconfig -cpu ?
x86       Opteron_G3
x86       Opteron_G2
x86       Opteron_G1
x86          Nehalem
x86           Penryn
x86           Conroe
x86           [n270]
x86         [athlon]
x86       [pentium3]
x86       [pentium2]
x86        [pentium]
x86            [486]
x86        [coreduo]
x86         [qemu32]
x86          [kvm64]
x86       [core2duo]
x86         [phenom]
x86         [qemu64]

Comment 6 releng-rhel@redhat.com 2010-11-10 21:26:02 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.