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

qemu-kvm: warning: Deprecated CPU topology (considered invalid): Unsupported clusters parameter mustn't be specified as 1

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rhel-10.0
    • rhel-9.5
    • qemu-kvm
    • None
    • qemu-kvm-9.1.0-1.el10
    • Yes
    • Low
    • rhel-sst-virtualization
    • ssg_virtualization
    • 5
    • 7
    • 2
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?
      -smp 8,sockets=2,dies=1,clusters=1,cores=4,threads=1 \
      qemu-kvm: warning: Deprecated CPU topology (considered invalid): Unsupported clusters parameter mustn't be specified as 1

      There is an upstream bug opened on https://gitlab.com/qemu-project/qemu/-/issues/2420.
      commit 9d7950edb0cdf8f4e5746e220e6e8a9e713bad16
      Author: Daniel P. Berrangé <berrange@redhat.com>
      Date: Mon May 13 13:33:57 2024 +0100

      hw/core: allow parameter=1 for SMP topology on any machine

      Please provide the package NVR for which bug is seen:
      qemu-kvm-9.0.0-7.el9.x86_64

      How reproducible:
      100%

      Steps to reproduce
      1. In guest SMP topology, set clusters=1
      qemu-kvm: warning: Deprecated CPU topology (considered invalid): Unsupported clusters parameter mustn't be specified as 1

      Expected results
      Cluster can set to 1

      Actual results
      Cluster can't set to 1.

            [RHEL-54669] qemu-kvm: warning: Deprecated CPU topology (considered invalid): Unsupported clusters parameter mustn't be specified as 1

            The 'blocked by' issue RHEL-41246 is transitioned to Release Pending.

            RHEL Jira bot added a comment - The 'blocked by' issue RHEL-41246 is transitioned to Release Pending.

            Zixi Chen added a comment -

            Tested with qemu-img-9.0.0-10.el9_5.x86_64, still see warning qemu-kvm: warning: Deprecated CPU topology (considered invalid): Unsupported clusters parameter mustn't be specified as 1. 

            Tested  qemu-kvm-9.1.0-1.el9, this issue fixed.

             

            Version:  qemu-kvm-9.1.0-1.el9 , qemu-kvm-9.1.0-1.el10

            steps:

            1. Boot guest with -smp 8,sockets=2,dies=1,clusters=1,cores=4,threads=1 \
            2. Check if there is qemu warning.

            Result:

            No qemu warnings. 

            QEMU 9.1.0 monitor - type 'help' for more information
            (qemu) 

             

            Zixi Chen added a comment - Tested with qemu-img-9.0.0-10.el9_5.x86_64, still see warning qemu-kvm: warning: Deprecated CPU topology (considered invalid): Unsupported clusters parameter mustn't be specified as 1.  Tested  qemu-kvm-9.1.0-1.el9, this issue fixed.   Version:  qemu-kvm-9.1.0-1.el9 , qemu-kvm-9.1.0-1.el10 steps: Boot guest with -smp 8,sockets=2,dies=1,clusters=1,cores=4,threads=1 \ Check if there is qemu warning. Result: No qemu warnings.  QEMU 9.1.0 monitor - type 'help' for more information (qemu)   

            John Ferlan added a comment -

            This will be fixed when we rebase qemu-9.1 for the next release pair.

            Since rhel-9.5 is not an EUS release nor one our layered products will consume, it should just be OK to pick this up and test as part of the rebase. 

            John Ferlan added a comment - This will be fixed when we rebase qemu-9.1 for the next release pair. Since rhel-9.5 is not an EUS release nor one our layered products will consume, it should just be OK to pick this up and test as part of the rebase. 

              rhn-engineering-berrange Daniel Berrangé
              zixchen Zixi Chen
              virt-maint virt-maint
              Zixi Chen Zixi Chen
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated: