X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_power%2Fguest_channel.h;h=e15db46fc78c5a8e3428b12d7237c5a642ceee65;hb=20ab67608a396e152e5f7d0ebaa18f664c0508fb;hp=025961606c47b783422b9ae6c9cfd9442a74580a;hpb=e0194feb322c3faa4588fb254751d97f7c742142;p=dpdk.git diff --git a/lib/librte_power/guest_channel.h b/lib/librte_power/guest_channel.h index 025961606c..e15db46fc7 100644 --- a/lib/librte_power/guest_channel.h +++ b/lib/librte_power/guest_channel.h @@ -10,6 +10,18 @@ extern "C" { #include +/** + * 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