def get_host_cpu_stats(self):
    'Return the current CPU state of the host.'
    stats = self._conn.getCPUStats(libvirt.VIR_NODE_CPU_STATS_ALL_CPUS, 0)
    stats['frequency'] = self._conn.getInfo()[3]
    return stats
Return the current CPU state of the host.
def get_host_cpu_stats(self):
    
    stats = self._conn.getCPUStats(libvirt.VIR_NODE_CPU_STATS_ALL_CPUS, 0)
    stats['frequency'] = self._conn.getInfo()[3]
    return stats