Architecture
The libvirt-cim provider consists of two major parts:
- The provider classes themselves (src/)
- A helper library of common components (libxkutil/)
The provider classes implement the actual CIM class model. Some of the provider libraries implement one CIM class and one providier. However, many of them perform more than one task. For example, the Virt_Device and Virt_DevicePool providers implement the device and device pool classes for each of the major device types: Memory, Processor, Network, and Disk.
The helper library contains common routines that almost all of the providers use, such as libvirt connection type detection and device and system XML parsing.