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 990491 - when set the emulated machine type by "-M pc", qemu not specify the guest system version correctly
Summary: when set the emulated machine type by "-M pc", qemu not specify the guest ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Hai Huang
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-07-31 09:52 UTC by yunpingzheng
Modified: 2014-03-04 00:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-27 15:17:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description yunpingzheng 2013-07-31 09:52:42 UTC
Description of problem:
boot guest with -M xx, set the emulated machine type. after guest boot check the guest system version by "dmidecode -t 1", the version is "Not Secified"

In rhel6, when set the emulated machine type by -M in qemu command, qemu will set the guest system version correctly.
 

Version-Release number of selected component (if applicable):
Host RHEL7
qemu-kvm-1.5.1-2.el7.x86_64
seabios-1.7.2.2-2.el7.x86_64
kernel-3.9.0-0.55.el7.x86_64

Guest: RHEL.6.4

How reproducible:
100%

Steps to Reproduce:
1.boot guest with -M pc, set the emulated machine type. 
2. after guest boot check the guest system version by "dmidecode -t 1", the version is "Not Secified"

Actual results:
 the version is "Not Secified"

Expected results:
 the version is like "RHEL 7.0.0 PC"

Additional info:

Comment 2 Sibiao Luo 2013-07-31 10:45:58 UTC
FYI, this can be specified in qemu var '-smbios version=xxx'.
e.g:...-smbios type=1,manufacturer="Red Hat",product=KVM,version="RHEL-7.0 PC",serial=PK12123456SN,uuid=43425b70-86e5-4664-bf2c-3b76699b8bec,sku=SKU123456,family="Red Hat Enterprise Linux"
guest]# dmidecode 
Handle 0x0100, DMI type 1, 27 bytes
System Information
    Manufacturer: Red Hat
    Product Name: KVM
    Version: RHEL-7.0 PC
    Serial Number: PK12123456SN
    UUID: 43425B70-86E5-4664-BF2C-3B76699B8BEC
    Wake-up Type: Power Switch
    SKU Number: SKU123456
    Family: Red Hat Enterprise Linux 

Best Regards,
sluo


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