Bug 2137330 - RFE: guest agent 'guest-get-diskstats' api support
Summary: RFE: guest agent 'guest-get-diskstats' api support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: qemu-kvm
Version: 9.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Kostiantyn Kostiuk
QA Contact: dehanmeng
URL:
Whiteboard:
Depends On: 2135806
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-24 13:39 UTC by dehanmeng
Modified: 2023-07-27 01:03 UTC (History)
11 users (show)

Fixed In Version: qemu-kvm-7.1.0-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 07:20:51 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-137421 0 None None None 2022-10-24 13:44:10 UTC
Red Hat Product Errata RHSA-2023:2162 0 None None None 2023-05-09 07:21:21 UTC

Description dehanmeng 2022-10-24 13:39:05 UTC
Description of problem:
Add a new 'guest-get-diskstats' command for report disk io statistics for Linux guests. This can be useful for getting io flow or handling IO fault, no need to enter guests.

[1]: https://github.com/qemu/qemu/blob/master/qga/qapi-schema.json#L1569
[2]: https://qemu-project.gitlab.io/qemu/interop/qemu-ga-ref.html#id85

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:

Additional info:

Comment 6 John Ferlan 2022-11-04 10:45:34 UTC
(In reply to Kostiantyn Kostiuk from comment #2)
> @jferlan
> 
> This is a Linux bug, not Windows. The guest-get-diskstats command works only
> in Linux.

Fair enough - I hadn't realized you took over upstream maintainer for both Linux and Windows QGA... 

Anyway you moved this bug to POST and set ITR, but didn't note the commit id for the patches.

If I grep thru qemu.git, I see commit id 3569664ee9f08c94a5a2c69f778f0d023e5e882f so I will assume that and fix the bug up to add some necessary data (see devel whiteboard and depends on bug for the qemu-7.2 rebase).

I also note that commit went into qemu-7.1 so theoretically it could be tested already since qemu-7.1 has already been rebased. That means it probably could be verified, but then we'd have to get it added to the errata.  We can leave it like this since we're close to the next rebase anyway.

Comment 8 Yanan Fu 2022-12-19 02:21:36 UTC
QE bot(pre verify): Set 'Verified:Tested,SanityOnly' as gating/tier1 test pass.

Comment 13 errata-xmlrpc 2023-05-09 07:20:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: qemu-kvm security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2162


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