Bug 499453 - add manufacturer and product name info to guest SMBIOS
Summary: add manufacturer and product name info to guest SMBIOS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: xen
Version: 5.4
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Paolo Bonzini
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-06 18:03 UTC by Alan Zarembok
Modified: 2015-08-23 14:57 UTC (History)
8 users (show)

Fixed In Version: xen-3.0.3-102.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 540397 (view as bug list)
Environment:
Last Closed: 2010-03-30 08:58:26 UTC
Target Upstream Version:
Embargoed:
riek: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0294 0 normal SHIPPED_LIVE xen bug fix and enhancement update 2010-03-29 14:20:32 UTC

Description Alan Zarembok 2009-05-06 18:03:13 UTC
Description of problem:

In order to implement RHN business rules that support our licensing model for
RHEL guests, we need a method of identifying, from within a guest, whether it
is running on a Red Hat hypervisor platform, and if so which platform (RHEV-H
or RHEL).

The goal of this is to implement a "floating" guest entitlement that allows the
customer to run a RHEL guest on top of one of our hypervisors, but to not allow
that entitlement to be used on bare metal.  We also need to have control over
whether the entitlement can be used on 3rd party hypervisor platforms.

To accomplish this please set the "Manufacturer" and "Product Name" fields in
the guests SMBIOS as follows:

Manufacturer: "Red Hat, Inc."
Product Name: "Red Hat Enterprise Linux"

This applies to both Xen and KVM guests.


Version-Release number of selected component (if applicable):


How reproducible:
N/A

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 13 Paolo Bonzini 2009-12-29 12:07:43 UTC
See patch comment:

"This patch customizes the manufacturer and family in the guest
SMBIOS to be respectively "Red Hat" and "Red Hat Enterprise Linux".  This is not exactly what is asked for in the Bugzilla, but I chose to
match the strings and fields that KVM is already using."

Red Hat Enterprise Linux should be in the family, not in the product.

Comment 16 Paolo Bonzini 2009-12-29 19:36:55 UTC
That's on RHEV.  RHEL's kvm/bios/rombios32.c has

    load_str_field_with_default(1, manufacturer_str, "Red Hat");
    load_str_field_with_default(1, product_name_str, "KVM");
...
    load_str_field_with_default(1, family_str, "Red Hat Enterprise Linux");

So I did the same for Xen.

Comment 21 Paolo Bonzini 2010-01-02 13:19:17 UTC
I guess the "Intel" manufacturer is for the processor?  If so, that is fine.

Comment 23 XinSun 2010-01-05 06:05:28 UTC
Do follow steps to check this bug with xen-3.0.3-102.el5:
[guest]# dmidecode | grep Manufacturer
        Manufacturer: Red Hat 
        Manufacturer: Red Hat
        Manufacturer: Intel

[guest]# dmidecode | grep Family
        Family: Red Hat Enterprise Linux  

So this bug is fixed on xen-3.0.3-102.el5, change this bug's status to verified.

Comment 25 Paolo Bonzini 2010-01-05 16:39:48 UTC
> * The "Product Name" field must identify the the individual member of the
product family.
> * "Serial Number" must be a unique ID for the host
> * "UUID" must be the UUID of the individual guest

Thanks.  These parts are not implemented yet, as far as I can tell, for either Xen or KVM.  I could find no open bug.

Comment 29 errata-xmlrpc 2010-03-30 08:58:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0294.html

Comment 30 Paolo Bonzini 2010-04-08 15:45:35 UTC
This bug was closed during 5.5 development and it's being removed from the internal tracking bugs (which are now for 5.6).


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