]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_power/guest_channel.h
power: add environment capability probing
[dpdk.git] / lib / librte_power / guest_channel.h
index 025961606c47b783422b9ae6c9cfd9442a74580a..e15db46fc78c5a8e3428b12d7237c5a642ceee65 100644 (file)
@@ -10,6 +10,18 @@ extern "C" {
 
 #include <channel_commands.h>
 
+/**
+ * Check if any Virtio-Serial VM end-points exist in path.
+ *
+ * @param path
+ *  The path to the serial device on the filesystem
+ *
+ * @return
+ *  - 1 if at least one potential end-point found.
+ *  - 0 if no end-points found.
+ */
+int guest_channel_host_check_exists(const char *path);
+
 /**
  * Connect to the Virtio-Serial VM end-point located in path. It is
  * thread safe for unique lcore_ids. This function must be only called once from