Bug 682987

Summary: Machine Type defaults to rhel5.4.0 on RHEL5.6 host
Product: Red Hat Enterprise Linux 5 Reporter: Mike Cao <bcao>
Component: kvmAssignee: Ronen Hod <rhod>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 5.6CC: bcao, dmartin, gcosta, juzhang, knoel, michen, mkenneth, qzhang, rhod, syeghiay, tburke, virt-maint
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-01 14:51:39 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: 580948    

Description Mike Cao 2011-03-08 08:38:28 UTC
Description of problem:
Machine Type defaults to rhel5.4.0  on RHEL5.6 host

Version-Release number of selected component (if applicable):
# uname -r
2.6.18-238.el5
# rpm -q kvm
kvm-83-227.el5

How reproducible:
100%

Steps to Reproduce:
1./usr/libexec/qemu-kvm -M ?
2.
3.
  
Actual results:
Supported machines are:
pc         RHEL 5.4.0 PC (alias of rhel5.4.0)
rhel5.4.0  RHEL 5.4.0 PC (default)
rhel5.4.4  RHEL 5.4.4 PC
rhel5.5.0  RHEL 5.5.0 PC
rhel5.6.0  RHEL 5.6.0 PC

Expected results:
should change rhel5.6.0 as default value.

Additional info:

Comment 1 juzhang 2011-05-10 05:01:34 UTC
Hit the same issue on rhel5.7 with kvm-83-232.el5. mark qa_ack+

#/usr/libexec/qemu-kvm -M ?
Supported machines are:
pc         RHEL 5.4.0 PC (alias of rhel5.4.0)
rhel5.4.0  RHEL 5.4.0 PC (default)
rhel5.4.4  RHEL 5.4.4 PC
rhel5.5.0  RHEL 5.5.0 PC
rhel5.6.0  RHEL 5.6.0 PC

Comment 2 john cooper 2011-05-17 17:05:29 UTC

*** This bug has been marked as a duplicate of bug 699347 ***

Comment 3 Mike Cao 2011-07-06 03:35:11 UTC
Reopen this bug ,

I still think we need use -M rhel5.6.0 as default on rhel5.6.0+ hosts.

Comment 5 Dor Laor 2011-07-06 13:37:47 UTC
(In reply to comment #3)
> Reopen this bug ,
> 
> I still think we need use -M rhel5.6.0 as default on rhel5.6.0+ hosts.

That's wrong. We do not change the default on minor releases.
Anyone wishes to use another machine type should just use the right flag.

Comment 6 Mike Cao 2011-12-08 08:33:54 UTC
Reopen this bug .based on following reasons 

1.We hit lots of timer device issues if we forgot to add -M rhel5.6.0
2.qemu-kvm in RHEL6.x always change the default machine type to the newest one

Comment 8 Dor Laor 2012-02-01 14:51:39 UTC
(In reply to comment #6)
> Reopen this bug .based on following reasons 
> 
> 1.We hit lots of timer device issues if we forgot to add -M rhel5.6.0

Check comment #5 and remember to add it

> 2.qemu-kvm in RHEL6.x always change the default machine type to the newest one

That's a bug actually. Now is too late to fix