RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2104404 - RFE: support to get thread-pool-max/thread-pool-min by query-iothreads
Summary: RFE: support to get thread-pool-max/thread-pool-min by query-iothreads
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Virtualization Maintenance
QA Contact: qing.wang
URL:
Whiteboard:
Depends On:
Blocks: 2104407
TreeView+ depends on / blocked
 
Reported: 2022-07-06 07:40 UTC by Han Han
Modified: 2022-09-28 01:28 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-12 09:44:18 UTC
Type: Feature Request
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-127058 0 None None None 2022-07-06 07:44:34 UTC

Description Han Han 2022-07-06 07:40:38 UTC
Description of problem:
As subject

Version-Release number of selected component (if applicable):
qemu-kvm-7.0.0-8.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
Setting the properties thread-pool-max/thread-pool-min of iothread objects are supported since BZ2031024.  
However, getting thread-pool-max/thread-pool-min by query-iothreads is not supported yet.  
No thread-pool-max/thread-pool-min properties in the result object IOThreadInfo for query-iothreads QMP, see https://gitlab.com/qemu-project/qemu/-/blob/master/qapi/misc.json#L72

Actual results:
As above

Expected results:
Support to get thread-pool-max/thread-pool-min by query-iothreads

Additional info:

Comment 3 CongLi 2022-07-12 09:44:18 UTC
The libvirt bug 2104407 has been closed, close the QEMU one too.

Comment 4 Kevin Wolf 2022-07-26 11:09:24 UTC
For the record, in case anyone stumbles across this bug report who needs the same functionality: This value can already be queried with the qom-get QMP command. Adding the information to query-iothreads would be more convenient, but is not a hard requirement for retrieving the value.

$ build/qemu-system-x86_64 -object iothread,id=t0 -qmp stdio
{"QMP": {"version": {"qemu": {"micro": 50, "minor": 0, "major": 7}, "package": "v7.0.0-2105-g2e177f879b"}, "capabilities": ["oob"]}}
{"execute":"qmp_capabilities"}
{"return": {}}
{"execute":"qom-get","arguments":{"path":"/objects/t0","property":"thread-pool-max"}}
{"return": 64}


Note You need to log in before you can comment on or make changes to this bug.