qga: add guest-get-diskstats command for Linux guests
commit3569664ee9f08c94a5a2c69f778f0d023e5e882f
authorluzhipeng <luzhipeng@cestc.cn>
Fri, 20 May 2022 02:19:35 +0000 (20 10:19 +0800)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Wed, 25 May 2022 09:12:01 +0000 (25 12:12 +0300)
treefc45d9ba8f7a5af0ab02afef44ee404fe0f0812a
parent0cac736e73723850a99e5142e35d14d8f8efb232
qga: add guest-get-diskstats command for Linux guests

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.

Signed-off-by: luzhipeng <luzhipeng@cestc.cn>
Message-Id: <20220520021935.676-1-luzhipeng@cestc.cn>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
qga/commands-posix.c
qga/commands-win32.c
qga/qapi-schema.json