diff options
| author | Daniel P. Berrangé <berrange@redhat.com> | 2024-07-12 14:24:42 +0100 |
|---|---|---|
| committer | Konstantin Kostiuk <kkostiuk@redhat.com> | 2024-07-19 11:50:35 +0300 |
| commit | 74cbd9bcefb1781648cf593597018a05199d8ced (patch) | |
| tree | 1106b87a0765439d35dbd79e9c82bf13ee04f28d /qga/commands-common.h | |
| parent | 329cefe405e0b4e1e7a97ef84734dac82668a2d0 (diff) | |
| download | focaccia-qemu-74cbd9bcefb1781648cf593597018a05199d8ced.tar.gz focaccia-qemu-74cbd9bcefb1781648cf593597018a05199d8ced.zip | |
qga: move linux disk/cpu stats command impls to commands-linux.c
The qmp_guest_{diskstats,cpustats} command impls in
commands-posix.c are surrounded by '#ifdef __linux__' so should
instead live in commands-linux.c
This also removes a "#ifdef CONFIG_LINUX" that was nested inside
a "#ifdef __linux__".
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Message-ID: <20240712132459.3974109-6-berrange@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Diffstat (limited to 'qga/commands-common.h')
0 files changed, 0 insertions, 0 deletions