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

Efficient fetching of all CPU properties via QMP

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • rhel-sst-virtualization
    • ssg_virtualization
    • None
    • False
    • Hide

      None

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

      Goal

      When libvirt starts a new QEMU process, it needs to check what CPU features were enabled or disabled in the vCPU to make sure the exact same set of features is used later after migration, save/restore, or snapshot revert. We do so by listing all CPU properties in the corresponding QOM path (/machine/unattached/device[0]) using qom-list and then asking for the value of each property using qom-get, which requires more than 400 hundred QMP commands just for this simple task. We'd love to have a simpler interface for this.

      Acceptance criteria

      • Ideally a single QMP command that would give us all properties and their values.

              virt-maint virt-maint
              jdenemar@redhat.com Jiri Denemark
              virt-maint virt-maint
              Yiqian Wei Yiqian Wei
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated: