qga: move linux vcpu command impls to commands-linux.c
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 12 Jul 2024 13:24:39 +0000 (14:24 +0100)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Fri, 19 Jul 2024 08:50:35 +0000 (11:50 +0300)
commit4210027b5002e66a308d7c52b2e3204438c363cd
treecf7e3ce23cc802c92778e28135bdea28135ea8c1
parent66181376200870ea53ba6c6488683cff1c8795b0
qga: move linux vcpu command impls to commands-linux.c

The qmp_guest_set_vcpus and qmp_guest_get_vcpus command impls in
commands-posix.c are surrounded by '#ifdef __linux__' so should
instead live in commands-linux.c

Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20240712132459.3974109-3-berrange@redhat.com>
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
qga/commands-linux.c
qga/commands-posix.c