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

Isolated CPUs still appear in the virsh emulatorpin result.

    • No
    • None
    • rhel-sst-virtualization
    • ssg_virtualization
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

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

      Isolated CPUs still appear in the virsh emulatorpin result.

      How reproducible is this bug?:

      100%

      Please provide the package NVR for which the bug is seen:

      rpm -q libvirt qemu-kvm
      libvirt-10.10.0-2.el10.x86_64
      qemu-kvm-9.1.0-6.el10.x86_64

       

      Steps to reproduce

      1.Check the host's isolated CPU:
      #cat /sys/devices/system/cpu/isolated
      1-2

       

      2.Check the vm affinity via shell cmd
      #grep -i Cpus_allowed_list /proc/`pidof qemu-kvm`/status
      Cpus_allowed_list: 0,3-47

       

      3.Start a VM but without emulatorpin cfg
      #virsh dumpxml vm1 | grep emulatorpin
      #
      #

       

      4.Check virsh emulatorpin

      Expected results

      virsh emulatorpin vm1 --config
      emulator: CPU Affinity
      ----------------------------------
          *: 0,3-47

      Actual results

      virsh emulatorpin vm1 --config
      emulator: CPU Affinity
      ----------------------------------
          *: 0-47

       

              mkletzan@redhat.com Martin Kletzander
              nanli@redhat.com Nannan Li
              Martin Kletzander Martin Kletzander
              Nannan Li Nannan Li
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: