]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_power/power_kvm_vm.h
common/qat: build drivers from common folder
[dpdk.git] / lib / librte_power / power_kvm_vm.h
index 94d4aa121348fdaf0926f9d76fd20ec70e0faef7..73b4c82e573e9edda3165d2d6c62682dc47d272c 100644 (file)
 extern "C" {
 #endif
 
+/**
+ * Check if KVM power management is supported.
+ *
+ * @return
+ *   - 1 if supported
+ *   - 0 if unsupported
+ *   - -1 if error, with rte_errno indicating reason for error.
+ */
+int power_kvm_vm_check_supported(void);
+
 /**
  * Initialize power management for a specific lcore.
  *