On Fri, Aug 23, 2019 at 11:31:15AM -0500, Jonathon Jongsma wrote:
This API is intended to aggregate several guest agent information
queries and is ispired by stats API virDomainListGetStats(). It is
anticipated that this information will be provided by a guest agent
running within the domain.
Signed-off-by: Jonathon Jongsma <jjongsma(a)redhat.com>
---
include/libvirt/libvirt-domain.h | 14 ++++
src/driver-hypervisor.h | 8 +++
src/libvirt-domain.c | 117 +++++++++++++++++++++++++++++++
src/libvirt_public.syms | 1 +
4 files changed, 140 insertions(+)
+ * VIR_DOMAIN_GUEST_INFO_FILESYSTEM:
+ * Returns inforamtion about the filesystems within the domain. The typed
+ * parameter keys are in this format:
+ * "fs.count" - the number of filesystems defined on this domain
+ * as an unsigned int
+ * "fs.<num>.mountpoint" - the path to the mount point for the
filesystem
+ * "fs.<num>.name" - device name in the guest (e.g.
"sda1")
+ * "fs.<num>.fstype" - the type of filesystem
+ * "fs.<num>.total-bytes" - the total size of the filesystem
+ * "fs.<num>.used-bytes" - the number of bytes used in the
filesystem
These two don't mention what data type is used - presuambly it should
be unsigned long long
+ * "fs.<num>.disk.count" - the number of disks
targeted by this filesystem
+ * "fs.<num>.disk.<num>.alias" - the device alias of the disk
(e.g. sda)
+ * "fs.<num>.disk.<num>.serial" - the serial number of the
disk
+ * "fs.<num>.disk.<num>.device" - the device node of the disk
Regards,
Daniel
--
|:
https://berrange.com -o-
https://www.flickr.com/photos/dberrange :|
|:
https://libvirt.org -o-
https://fstop138.berrange.com :|
|:
https://entangle-photo.org -o-
https://www.instagram.com/dberrange :|