mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
This commit extends the KVM domain probe to monitor NVIDIA GPUs: * GPU metrics: GPU_UTILIZATION, GPU_MEMORY_UTILIZATION, GPU_MEMORY_FREE, GPU_POWER_USAGE, GPU_COUNT * Implements method for NVIDIA GPUs. The code is prepared to add AMD vendor in the future * NVIDIA monitor uses nvidia-smi through qemu guest-agent those are requirements for the VM to report metrics * oned now adds PCI information (vendor, device and class) to all PCI devices (i.e. even if using SHORT_ADDRESS). * KVM metadata include PCI devices in the VM to skip VMs not using supported GPU's Signed-off-by: josepselga <jselga@opennebula.io>