[PATCH 00/13] virsh: Enhancements for hypervisor-cpu-* commands and their documentation

Jiri Denemark posted 13 patches 9 months, 3 weeks ago
Failed in applying to current master (apply log)
build-aux/syntax-check.mk    |   3 +-
docs/manpages/virsh.rst      |  47 ++++++++-----
tools/virsh-domain-monitor.c |  16 ++---
tools/virsh-domain.c         | 131 ++++++++++++++++++-----------------
tools/virsh-host.c           |  22 ++++--
tools/virsh-interface.c      |   6 +-
tools/virsh-network.c        |  10 +--
tools/virsh-nodedev.c        |   6 +-
tools/virsh-nwfilter.c       |  10 +--
tools/virsh-pool.c           |  10 +--
tools/virsh-secret.c         |   8 +--
tools/virsh-snapshot.c       |  12 ++--
tools/virsh-util.c           |  16 ++---
tools/virsh-volume.c         |  24 +++----
tools/virsh.c                |  10 +--
tools/virt-admin.c           |  16 ++---
tools/vsh.c                  | 113 +++++++++++++++++-------------
tools/vsh.h                  |   6 +-
18 files changed, 254 insertions(+), 212 deletions(-)
[PATCH 00/13] virsh: Enhancements for hypervisor-cpu-* commands and their documentation
Posted by Jiri Denemark 9 months, 3 weeks ago
This series originally started as a documentation update for
hypervisor-cpu-compare and hypervisor-cpu-baseline commands with an idea
to print a warning if the commands are used suboptimally. The rest is a
refactor and a lot of fixes of (mostly) error messages printed by virsh.

Jiri Denemark (13):
  docs: Clarify documentation of virsh hypervisor-cpu-compare
  docs: Clarify documentation of virsh hypervisor-cpu-baseline
  virsh: Do not format messages twice
  virsh: Make messages printed by vshError properly translatable
  virsh: Refactor vshError
  virsh: Introduce vshWarn
  virsh: Warn when hypervisor-cpu-* is used with host CPU
  virsh: Do not require \n in vshDebug messages
  virsh: Properly mark all error messages for translation
  virsh: Avoid using translated messages without format
  virsh: Drop extra newlines at the end of error messages
  virsh: Let prohibit_newline_at_end_of_diagnostic check pass
  build: Enable syntax checks for vshError and vshWarn

 build-aux/syntax-check.mk    |   3 +-
 docs/manpages/virsh.rst      |  47 ++++++++-----
 tools/virsh-domain-monitor.c |  16 ++---
 tools/virsh-domain.c         | 131 ++++++++++++++++++-----------------
 tools/virsh-host.c           |  22 ++++--
 tools/virsh-interface.c      |   6 +-
 tools/virsh-network.c        |  10 +--
 tools/virsh-nodedev.c        |   6 +-
 tools/virsh-nwfilter.c       |  10 +--
 tools/virsh-pool.c           |  10 +--
 tools/virsh-secret.c         |   8 +--
 tools/virsh-snapshot.c       |  12 ++--
 tools/virsh-util.c           |  16 ++---
 tools/virsh-volume.c         |  24 +++----
 tools/virsh.c                |  10 +--
 tools/virt-admin.c           |  16 ++---
 tools/vsh.c                  | 113 +++++++++++++++++-------------
 tools/vsh.h                  |   6 +-
 18 files changed, 254 insertions(+), 212 deletions(-)

-- 
2.48.1
Re: [PATCH 00/13] virsh: Enhancements for hypervisor-cpu-* commands and their documentation
Posted by Michal Prívozník 9 months, 3 weeks ago
On 2/20/25 16:26, Jiri Denemark wrote:
> This series originally started as a documentation update for
> hypervisor-cpu-compare and hypervisor-cpu-baseline commands with an idea
> to print a warning if the commands are used suboptimally. The rest is a
> refactor and a lot of fixes of (mostly) error messages printed by virsh.
> 
> Jiri Denemark (13):
>   docs: Clarify documentation of virsh hypervisor-cpu-compare
>   docs: Clarify documentation of virsh hypervisor-cpu-baseline
>   virsh: Do not format messages twice
>   virsh: Make messages printed by vshError properly translatable
>   virsh: Refactor vshError
>   virsh: Introduce vshWarn
>   virsh: Warn when hypervisor-cpu-* is used with host CPU
>   virsh: Do not require \n in vshDebug messages
>   virsh: Properly mark all error messages for translation
>   virsh: Avoid using translated messages without format
>   virsh: Drop extra newlines at the end of error messages
>   virsh: Let prohibit_newline_at_end_of_diagnostic check pass
>   build: Enable syntax checks for vshError and vshWarn
> 
>  build-aux/syntax-check.mk    |   3 +-
>  docs/manpages/virsh.rst      |  47 ++++++++-----
>  tools/virsh-domain-monitor.c |  16 ++---
>  tools/virsh-domain.c         | 131 ++++++++++++++++++-----------------
>  tools/virsh-host.c           |  22 ++++--
>  tools/virsh-interface.c      |   6 +-
>  tools/virsh-network.c        |  10 +--
>  tools/virsh-nodedev.c        |   6 +-
>  tools/virsh-nwfilter.c       |  10 +--
>  tools/virsh-pool.c           |  10 +--
>  tools/virsh-secret.c         |   8 +--
>  tools/virsh-snapshot.c       |  12 ++--
>  tools/virsh-util.c           |  16 ++---
>  tools/virsh-volume.c         |  24 +++----
>  tools/virsh.c                |  10 +--
>  tools/virt-admin.c           |  16 ++---
>  tools/vsh.c                  | 113 +++++++++++++++++-------------
>  tools/vsh.h                  |   6 +-
>  18 files changed, 254 insertions(+), 212 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal