Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-45952

Incorrect SMBIOS information on hpe machines when smbios mode is 'host'

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-9.6
    • rhel-9.5
    • libvirt
    • libvirt-10.8.0-1.el9
    • None
    • Moderate
    • rhel-sst-virtualization
    • ssg_virtualization
    • 11
    • 3
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • aarch64
    • 10.6.0
    • None

      What were you trying to do that didn't work?

      Incorrect SMBIOS information on hpe machines. guests should copy the host's SMBIOS values if its smbios mode is 'host'.

      Please provide the package NVR for which bug is seen:

      libvirt-10.5.0-1.el9.aarch64
      qemu-kvm-9.0.0-5.el9.aarch64
      kernel-64k-5.14.0-469.el9.aarch64
      edk2-aarch64-20240214-2.el9.noarch

      How reproducible:

      100%

      Steps to reproduce

      1. Set smbios mode as 'host' in vm's xml
        <smbios mode='host'/>
        </os>
      2. Start and login to the vm
      3. compare the output of 'dmidecode -t system' on vm and host

      Expected results

      guests should copy the host's SMBIOS value.

      Actual results

      guests have different SMBIOS information(Manufacturer,Product Name, SKU Number, and Family) .
      on host:

      # dmidecode 3.5
      Getting SMBIOS data from sysfs.
      SMBIOS 3.1.1 present.
      
      Handle 0x0001, DMI type 1, 27 bytes
      System Information
      Manufacturer: HPE
      Product Name: Apollo 70            
      Version: X1
      Serial Number: 2M292600L0
      UUID: 69f846c0-bfde-1000-03ce-ee4ab8730904
      Wake-up Type: Power Switch
      SKU Number: 881663-B21
      Family: CN99XX
      

      on vm:

      # dmidecode 3.5
      Getting SMBIOS data from sysfs.
      SMBIOS 3.0.0 present.
      
      Handle 0x0100, DMI type 1, 27 bytes
      System Information
      Manufacturer: QEMU
      Product Name: KVM Virtual Machine
      Version: virt-rhel9.4.0
      Serial Number: Not Specified
      UUID: c55bc878-efee-4266-aa4c-a7be73177ac8
      Wake-up Type: Power Switch
      SKU Number: Not Specified
      Family: Red Hat Enterprise Linux
      
      Handle 0x2000, DMI type 32, 11 bytes
      System Boot Information
      Status: No errors detected
      

      Additional info:

      There is no this issue on Ampere machines:
      on vm:

      [root@localhost ~]# dmidecode -t system
      # dmidecode 3.5
      Getting SMBIOS data from sysfs.
      SMBIOS 3.0.0 present.
      
      Handle 0x0100, DMI type 1, 27 bytes
      System Information
      	Manufacturer: GIGABYTE
      	Product Name: R152-P31-00
      	Version: 0100
      	Serial Number: DM5028812A0025
      	UUID: 1d9afb50-a883-4a71-9d6b-a32122712afc
      	Wake-up Type: Power Switch
      	SKU Number: 01234567890123456789AB
      	Family: Server
      

      on host:

      altramax-32 ~]# dmidecode -t system
      # dmidecode 3.5
      Getting SMBIOS data from sysfs.
      SMBIOS 3.4.0 present.
      
      Handle 0x0001, DMI type 1, 27 bytes
      System Information
      	Manufacturer: GIGABYTE
      	Product Name: R152-P31-00
      	Version: 0100
      	Serial Number: DM5028812A0025
      	UUID: 00000000-0000-4000-8000-d85ed38fb3c8
      	Wake-up Type: Power Switch
      	SKU Number: 01234567890123456789AB
      	Family: Server
      
      Handle 0x0054, DMI type 32, 11 bytes
      System Boot Information
      	Status: No errors detected
      

              mprivozn@redhat.com Michal Privoznik
              yicui1 Yingshun Cui
              virt-maint virt-maint
              Yingshun Cui Yingshun Cui
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: