On Fri, Aug 14, 2026 at 13:47:52 +0200, Michal Privoznik via Devel wrote: > From: Michal Privoznik <[email protected]> > > The virDomainGetGuestInfo() API is exposed as 'guestinfo' > command. Introduce new --devices option for it to reflect > introduction of VIR_DOMAIN_GUEST_INFO_DEVICES type. > > Signed-off-by: Michal Privoznik <[email protected]> > --- > docs/manpages/virsh.rst | 17 +++++++++++++---- > tools/virsh-domain.c | 6 ++++++ > 2 files changed, 19 insertions(+), 4 deletions(-)
[...] > @@ -3374,6 +3374,15 @@ returned: > * ``load.5m`` - average load in guest for last 5 minutes > * ``load.15m`` - average load in guest for last 15 minutes > > +*--devices* returns: > +* ``device.count`` - the number of devices that info is returned for > +* ``device.<num>.driverName`` - name of the driver associated with device > +* ``device.<num>.driverDate`` - driver release date in seconds since the > epoch > +* ``device.<num>.driverVersion`` - version of the driver associated with the > device > +* ``device.<num>.idType`` - device identification type (e.g. pci) > +* ``device.<num>.pciVendor`` - vendor ID for PCI device > +* ``device.<num>.pciDevice`` - device ID for PCI device Here you should make it more obvious that the printed value will be decimal instead of hex.
