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

Optionally expand host-model CPU features in virConnectGetDomainCapabilities

Linking RHIVOS CVEs to...Migration: Automation ...Sync from "Extern...XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Blocker Blocker
    • rhel-9.9
    • rhel-9.6.z
    • libvirt
    • None
    • None
    • rhel-virt-core-libvirt-1
    • ZStream
    • 1
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat OpenShift Virtualization
    • Libvirt for next Sprint
    • Regression Exception
    • None
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Getting a complete list of features supported by a specific hypervisor on a given host requires taking the host-model CPU definition from virConnectGetDomainCapabilities
      and passing it to virConnectBaselineHypervisorCPU with VIR_CONNECT_BASELINE_CPU_EXPAND_FEATURES flag.
      But due to suboptimal initial design of CPU capabilities reporting, the CPU definition in virConnectGetDomainCapabilities uses <mode> top element while virConnectBaselineHypervisorCPU expects <cpu>. To avoid these extra steps the virConnectGetDomainCapabilities could support a new flag that would tell it to do the expansion itself.

              jdenemar@redhat.com Jiri Denemark
              jdenemar@redhat.com Jiri Denemark
              Jiri Denemark Jiri Denemark
              Liping Cheng Liping Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated: