Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 5288d9d0853622668bd293023d2dfe200f3606f1
      
https://github.com/qemu/qemu/commit/5288d9d0853622668bd293023d2dfe200f3606f1
  Author: Daniel P. BerrangĂ© <[email protected]>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M meson.build
    M qga/commands-posix.c
    M qga/qapi-schema.json

  Log Message:
  -----------
  qga: implement a 'guest-get-load' command

Provide a way to report the process load average, via a new
'guest-get-load' command.

This is only implemented for POSIX platforms providing 'getloadavg'.

Example illustrated with qmp-shell:

(QEMU) guest-get-load
{
    "return": {
        "load15m": 1.546875,
        "load1m": 1.669921875,
        "load5m": 1.9306640625
    }
}

Windows has no native equivalent API, but it would be possible to
simulate it as illustrated here (BSD-3-Clause):

  https://github.com/giampaolo/psutil/pull/1485

This is left as an exercise for future contributors.

Signed-off-by: Daniel P. BerrangĂ© <[email protected]>
Reviewed-by: Konstantin Kostiuk <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Konstantin Kostiuk <[email protected]>


  Commit: 85978dfb6b1c1334ed6aa998ca06c3f45e2127e0
      
https://github.com/qemu/qemu/commit/85978dfb6b1c1334ed6aa998ca06c3f45e2127e0
  Author: Dehan Meng <[email protected]>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M scripts/qemu-guest-agent/fsfreeze-hook

  Log Message:
  -----------
  qemu-ga: Optimize freeze-hook script logic of logging error

Make sure the error log of fsfreeze hooks
when freeze/thaw/snapshot could be logged
to system logs if the default logfile of
qga can't be written or other situations

Signed-off-by: Dehan Meng <[email protected]>
Reviewed-by: Yan Vugenfirer <[email protected]>
Reviewed-by: Konstantin Kostiuk <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Konstantin Kostiuk <[email protected]>


  Commit: 6528013b5f5ba6bb3934b7f5fe57a3110680530f
      
https://github.com/qemu/qemu/commit/6528013b5f5ba6bb3934b7f5fe57a3110680530f
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2025-01-06 (Mon, 06 Jan 2025)

  Changed paths:
    M meson.build
    M qga/commands-posix.c
    M qga/qapi-schema.json
    M scripts/qemu-guest-agent/fsfreeze-hook

  Log Message:
  -----------
  Merge tag 'qga-pull-2025-01-06' of https://github.com/kostyanf14/qemu into 
staging

qga-pull-2025-01-06

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCAAdFiEEwsLBCepDxjwUI+uE711egWG6hOcFAmd7vqMACgkQ711egWG6
# hOffRxAAotgBsE+o8fsZ2tfOKNPekW0hlw/hceDMJRA2UwOSPfw1fXfw59w4Pnfr
# 4xwMC6O8Lu9ohBCBWHUvh3261gJgXQkLASbbzmF2oewfXZyvPXQI8nz78Ol3LBTG
# gL8lwaBci3YuFtc+2/55VdQsWUqtrRMvBW9WSXTEC+0dQJv+VzblXlEF7hQkKppT
# oGiHQL7pEA1UP7bRo4TyaoDnc8a+xz1J+vtEZUZghtreT7I3ELai/PFdo0U99fkf
# HZfjyj2sHCZto+tAokjBcqf2RXDRqUVRsn3GgC1MQbh1LRdfShmhCTbgYYk/1MmD
# 0xwiqAsw814W25299LM3xP2LHPm1jKtkZyCyuSXme9QtN9mC3F0TipR+HMRErAj0
# GQTBOJ0LinZsx5U/+ih4/qPj7RRov+SFzpVxBV3NUkpneVFp5FQgOo4n8l+h57ap
# fmkZ6/hb8itn2oux7S9v/LkcmWE3FqThKO6qMXOhBhQDCKpICz8liYO/tPdB4x1Q
# /HHQ9oon0A2eQw/53AYqz0SoazOqNtadg/hsQ11OHDExUjdp4M6hyxtmrJEQz4Et
# AFvIby98lJZCZ1u65dv/Prb+gW0E8AQ5Ib0jJllAm7tL/GjVyhbRlUl8S9R2uTcZ
# Gsb6e3DMBOny/lR9+2M4rCyCqXM58gTohuqtcXvAe8l2a3h23B4=
# =uk2Q
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon 06 Jan 2025 06:29:39 EST
# gpg:                using RSA key C2C2C109EA43C63C1423EB84EF5D5E8161BA84E7
# gpg: Good signature from "Kostiantyn Kostiuk (Upstream PR sign) 
<[email protected]>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: C2C2 C109 EA43 C63C 1423  EB84 EF5D 5E81 61BA 84E7

* tag 'qga-pull-2025-01-06' of https://github.com/kostyanf14/qemu:
  qemu-ga: Optimize freeze-hook script logic of logging error
  qga: implement a 'guest-get-load' command

Signed-off-by: Stefan Hajnoczi <[email protected]>


Compare: https://github.com/qemu/qemu/compare/9ee90cfc2574...6528013b5f5b

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to