Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
-nodefconfig disable incorrect config files: /etc/qemu/target-x86_64.conf and /etc/qemu/qemu.conf file, there are no these two files actually, file /usr/share/qemu-kvm/cpu-model/cpu-x86_64.conf should be disabled
Version-Release number of selected component (if applicable):
qemu-kvm-0.12.1.2-2.161.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. Change cpu64-rhel6 to cpu64-rhel7 in /root/test.conf file
2.
/usr/libexec/qemu-kvm -nodefconfig -readconfig ? -readconfig /root/test.conf -cpu ?
parsed config file /usr/share/qemu-kvm/cpu-model/cpu-x86_64.conf
parsed config file /root/test.conf
x86 Opteron_G3
x86 Opteron_G2
x86 Opteron_G1
x86 Westmere
x86 Nehalem
x86 Penryn
x86 Conroe
x86 cpu64-rhel5
x86 cpu64-rhel7
x86 Opteron_G3
x86 Opteron_G2
x86 Opteron_G1
x86 Westmere
x86 Nehalem
x86 Penryn
x86 Conroe
x86 cpu64-rhel5
x86 cpu64-rhel6
x86 [n270]
x86 [athlon]
x86 [pentium3]
x86 [pentium2]
x86 [pentium]
x86 [486]
x86 [coreduo]
x86 [qemu32]
x86 [kvm64]
x86 [core2duo]
x86 [phenom]
x86 [qemu64]
3.
/usr/libexec/qemu-kvm -readconfig ? -readconfig /root/test.conf -cpu ?
can't open config file /etc/qemu/qemu.conf: No such file or directory
can't open config file /etc/qemu/target-x86_64.conf: No such file or directory
parsed config file /usr/share/qemu-kvm/cpu-model/cpu-x86_64.conf
parsed config file /root/test.conf
Actual results:
/usr/share/qemu-kvm/cpu-model/cpu-x86_64.conf is not disabled, cpu models in /usr/share/qemu-kvm/cpu-model/cpu-x86_64.conf, /root/test.conf are displayed
Expected results:
/usr/share/qemu-kvm/cpu-model/cpu-x86_64.conf is disabled with -nodefconfig, only /root/test.conf is used
Additional info:
Comment 2RHEL Program Management
2011-05-07 06:00:12 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.
Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.
This looks like the expected behavior at a first look (I don't know if libvirt or other code depends on the CPU models being always available, even with -nodefconfig). I will look for past discussions about -nodefconfig upstream to find out.
In the meantime, I'm setting Conditional NAK: Design.