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.
Bug 1408122 - Opteron_G4 CPU model broken in QEMU 2.6 with RHEL 6 machine type
Summary: Opteron_G4 CPU model broken in QEMU 2.6 with RHEL 6 machine type
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: Guo, Zhiyi
URL:
Whiteboard:
Depends On: 1405123
Blocks: 1408230
TreeView+ depends on / blocked
 
Reported: 2016-12-22 08:41 UTC by Marcel Kolaja
Modified: 2017-01-17 20:10 UTC (History)
8 users (show)

Fixed In Version: qemu-kvm-rhev-2.6.0-28.el7_3.3
Doc Type: Bug Fix
Doc Text:
Using "Opteron" CPU options with Red Hat Enterprise Linux (RHEL) 6 machine types caused the QEMU emulator to terminate unexpectedly due to a typographical error in one of device names. This update corrects the error so "Opteron" CPU options can be used with RHEL 6 machine types as expected.
Clone Of: 1405123
: 1408230 (view as bug list)
Environment:
Last Closed: 2017-01-17 20:10:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0115 0 normal SHIPPED_LIVE qemu-kvm-rhev bug fix update 2017-01-24 13:04:27 UTC

Description Marcel Kolaja 2016-12-22 08:41:41 UTC
This bug has been copied from bug #1405123 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 4 Miroslav Rezanina 2017-01-04 19:35:20 UTC
Fix included in qemu-kvm-rhev-2.6.0-28.el7_3.3

Comment 6 Guo, Zhiyi 2017-01-05 09:10:33 UTC
Reproduce this issue against qemu-kvm-rhev-2.6.0-28.el7_3.2.x86_64.
qemu cmds used:
/usr/libexec/qemu-kvm -name rhel7.2 -m 2048 \
	-cpu Opteron_G4 -M rhel6.6.0 \
	-smp 4 \
	 -vga qxl\
	-spice port=3001,disable-ticketing \
        -device virtio-serial -chardev spicevmc,id=vdagent,debug=0,name=vdagent \
	-serial unix:/tmp/m,server,nowait \
        -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
	-drive file=rhel73,if=none,id=drive-scsi-disk0,format=qcow2,cache=none,werror=stop,rerror=stop -device virtio-scsi-pci,id=scsi0 -device scsi-hd,drive=drive-scsi-disk0,bus=scsi0.0,scsi-id=0,lun=0,id=scsi-disk0,bootindex=1 \
	-monitor stdio \
Steps:
1.Install rhel7.3 guest use above cmd.

Results:
qemu core dump with:
(gdb) bt
#0  0x00007f812c26b1d7 in raise () from /lib64/libc.so.6
#1  0x00007f812c26c8c8 in abort () from /lib64/libc.so.6
#2  0x00007f8136e53484 in error_handle_fatal (errp=<optimized out>, 
    err=0x7f8139fa70b0) at util/error.c:38
#3  0x00007f8136e53986 in error_propagate (
    dst_errp=0x7f8137857dd8 <error_abort>, local_err=0x7f8139fa70b0)
    at util/error.c:267
#4  0x00007f8136cdeb19 in qdev_prop_set_globals_for_type (
    typename=0x7f8139fadd20 "Opteron_G4-x86_64-cpu", dev=0x7f813aa48000)
    at hw/core/qdev-properties.c:1091
#5  qdev_prop_set_globals (dev=0x7f813aa48000)
    at hw/core/qdev-properties.c:1105
#6  0x00007f8136db1eda in object_post_init_with_type (ti=0x7f813a03b480, 
    obj=0x7f813aa48000) at qom/object.c:346
#7  object_initialize_with_type (data=data@entry=0x7f813aa48000, size=76368, 
    type=type@entry=0x7f813a033900) at qom/object.c:371
#8  0x00007f8136db2071 in object_new_with_type (type=0x7f813a033900)
    at qom/object.c:478
#9  0x00007f8136db20e5 in object_new (
    typename=typename@entry=0x7f8139fadd20 "Opteron_G4-x86_64-cpu")
    at qom/object.c:488
#10 0x00007f8136c1082d in pc_new_cpu (
    typename=typename@entry=0x7f8139fadd20 "Opteron_G4-x86_64-cpu", apic_id=0, 
---Type <return> to continue, or q <return> to quit---
    errp=0x7f8137857dd0 <error_fatal>)
    at /usr/src/debug/qemu-2.6.0/hw/i386/pc.c:1059
#11 0x00007f8136c1374e in pc_cpus_init (pcms=pcms@entry=0x7f813a08c000)
    at /usr/src/debug/qemu-2.6.0/hw/i386/pc.c:1157
#12 0x00007f8136c15aad in pc_init1 (machine=0x7f813a08c000, 
    pci_type=0x7f8136e79960 "i440FX", 
    host_type=0x7f8136e79967 "i440FX-pcihost")
    at /usr/src/debug/qemu-2.6.0/hw/i386/pc_piix.c:146
#13 0x00007f8136b88bc5 in main (argc=<optimized out>, argv=<optimized out>, 
    envp=<optimized out>) at vl.c:4552

Verify this bug against qemu-kvm-rhev-2.6.0-28.el7_3.3.x86_64, rhel7.3 guest can install and boot without error using same steps

Comment 7 Guo, Zhiyi 2017-01-05 09:11:13 UTC
Move to Verified per comment 6

Comment 9 errata-xmlrpc 2017-01-17 20:10:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0115.html


Note You need to log in before you can comment on or make changes to this bug.