[PATCH 0/4] Fix vcpu stats present for inactive VMs and allow virsh completion while daemon is down

Peter Krempa via Devel posted 4 patches 2 weeks, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1777460339.git.pkrempa@redhat.com
src/qemu/qemu_driver.c |  3 +++
src/util/virprocess.c  |  4 ++--
tools/vsh.c            | 12 ++++++++++--
tools/vsh.h            |  2 ++
4 files changed, 17 insertions(+), 4 deletions(-)
[PATCH 0/4] Fix vcpu stats present for inactive VMs and allow virsh completion while daemon is down
Posted by Peter Krempa via Devel 2 weeks, 1 day ago
Two things that annoyed me while I tried to reply to a mail.

Peter Krempa (4):
  qemuDomainGetStatsCpuProc: Don't fetch stats for inactive VMs
  virProcessGetStatInfo: Improve debug message
  vsh: Suppress attempts to write to stderr when it was closed in
    'cmdComplete'
  vsh: cmdComplete: Don't exit when connecting to the daemon fails

 src/qemu/qemu_driver.c |  3 +++
 src/util/virprocess.c  |  4 ++--
 tools/vsh.c            | 12 ++++++++++--
 tools/vsh.h            |  2 ++
 4 files changed, 17 insertions(+), 4 deletions(-)

-- 
2.54.0
Re: [PATCH 0/4] Fix vcpu stats present for inactive VMs and allow virsh completion while daemon is down
Posted by Ján Tomko via Devel 2 weeks, 1 day ago
On a Wednesday in 2026, Peter Krempa via Devel wrote:
>Two things that annoyed me while I tried to reply to a mail.
>
>Peter Krempa (4):
>  qemuDomainGetStatsCpuProc: Don't fetch stats for inactive VMs
>  virProcessGetStatInfo: Improve debug message
>  vsh: Suppress attempts to write to stderr when it was closed in
>    'cmdComplete'
>  vsh: cmdComplete: Don't exit when connecting to the daemon fails
>
> src/qemu/qemu_driver.c |  3 +++
> src/util/virprocess.c  |  4 ++--
> tools/vsh.c            | 12 ++++++++++--
> tools/vsh.h            |  2 ++
> 4 files changed, 17 insertions(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

Jano