qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/7] qga/commands-posix: replace code duplicating commands with a helper
@ 2024-03-15 12:29 Andrey Drobyshev
  2024-03-15 12:29 ` [PATCH v3 1/7] qga: guest-get-fsinfo: add optional 'total-bytes-root' field Andrey Drobyshev
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Andrey Drobyshev @ 2024-03-15 12:29 UTC (permalink / raw)
  To: qemu-devel
  Cc: berrange, michael.roth, kkostiuk, marcandre.lureau, philmd,
	andrey.drobyshev, den

v2 -> v3:
  * Patch 2/7:
    - ga_pipe_read_str() helper now returns -errno in case of an error
      during read from pipe, so that the caller may use it to set
      error_setg_errno();
    - ga_pipe_read_str() allocates +1 additional byte to make the
      string read from pipe null-terminated on every iteration;
  * Patch 6/7: patch is rewritten to completely get rid of fork()/exec()
    when suspending via sysfs, it now simply uses g_file_set_contents()
    (suggested by Daniel);
  * Patch 7/7: cosmetic change: removed unneeded brackets in an
    expression.

v2: https://lists.nongnu.org/archive/html/qemu-devel/2024-03/msg00147.html

Andrey Drobyshev (7):
  qga: guest-get-fsinfo: add optional 'total-bytes-root' field
  qga: introduce ga_run_command() helper for guest cmd execution
  qga/commands-posix: qmp_guest_shutdown: use ga_run_command helper
  qga/commands-posix: qmp_guest_set_time: use ga_run_command helper
  qga/commands-posix: execute_fsfreeze_hook: use ga_run_command helper
  qga/commands-posix: don't do fork()/exec() when suspending via sysfs
  qga/commands-posix: qmp_guest_set_user_password: use ga_run_command
    helper

 qga/commands-posix.c | 404 +++++++++++++++++++------------------------
 qga/commands-win32.c |   1 +
 qga/qapi-schema.json |  12 +-
 3 files changed, 193 insertions(+), 224 deletions(-)

-- 
2.39.3



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-03-20 15:51 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-15 12:29 [PATCH v3 0/7] qga/commands-posix: replace code duplicating commands with a helper Andrey Drobyshev
2024-03-15 12:29 ` [PATCH v3 1/7] qga: guest-get-fsinfo: add optional 'total-bytes-root' field Andrey Drobyshev
2024-03-15 13:44   ` Markus Armbruster
2024-03-15 14:27     ` Andrey Drobyshev
2024-03-19 17:37   ` Daniel P. Berrangé
2024-03-20 15:45     ` Andrey Drobyshev
2024-03-15 12:29 ` [PATCH v3 2/7] qga: introduce ga_run_command() helper for guest cmd execution Andrey Drobyshev
2024-03-19 17:55   ` Daniel P. Berrangé
2024-03-15 12:29 ` [PATCH v3 3/7] qga/commands-posix: qmp_guest_shutdown: use ga_run_command helper Andrey Drobyshev
2024-03-19 17:57   ` Daniel P. Berrangé
2024-03-15 12:29 ` [PATCH v3 4/7] qga/commands-posix: qmp_guest_set_time: " Andrey Drobyshev
2024-03-19 17:58   ` Daniel P. Berrangé
2024-03-15 12:29 ` [PATCH v3 5/7] qga/commands-posix: execute_fsfreeze_hook: " Andrey Drobyshev
2024-03-19 18:00   ` Daniel P. Berrangé
2024-03-15 12:29 ` [PATCH v3 6/7] qga/commands-posix: don't do fork()/exec() when suspending via sysfs Andrey Drobyshev
2024-03-19 18:02   ` Daniel P. Berrangé
2024-03-20 15:46     ` Andrey Drobyshev
2024-03-15 12:29 ` [PATCH v3 7/7] qga/commands-posix: qmp_guest_set_user_password: use ga_run_command helper Andrey Drobyshev
2024-03-19 18:00   ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).