]> git.proxmox.com Git - mirror_qemu.git/commit
qga/commands-posix: qmp_guest_set_time: use ga_run_command helper
authorAndrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Wed, 20 Mar 2024 16:16:45 +0000 (18:16 +0200)
committerKonstantin Kostiuk <kkostiuk@redhat.com>
Wed, 1 May 2024 07:10:08 +0000 (10:10 +0300)
commit1fce82bc407dae3a7a2a7c58a8955fc3598ed25f
tree8135355dce12c510a40ee93f9fc67a219bb02872
parent123f040a6ba3530c4c427a27522d4f1ec013b4d8
qga/commands-posix: qmp_guest_set_time: use ga_run_command helper

There's no need to check for the existence of "/sbin/hwclock", the
exec() call will do that for us.

Signed-off-by: Andrey Drobyshev <andrey.drobyshev@virtuozzo.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Konstantin Kostiuk <kkostiuk@redhat.com>
Link: https://lore.kernel.org/r/20240320161648.158226-5-andrey.drobyshev@virtuozzo.com
Signed-off-by: Konstantin Kostiuk <kkostiuk@redhat.com>
qga/commands-posix.c