git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mk: sort libraries in level order when linking
[dpdk.git]
/
lib
/
librte_power
/
rte_power_kvm_vm.c
diff --git
a/lib/librte_power/rte_power_kvm_vm.c
b/lib/librte_power/rte_power_kvm_vm.c
index
11596c3
..
a1badf3
100644
(file)
--- a/
lib/librte_power/rte_power_kvm_vm.c
+++ b/
lib/librte_power/rte_power_kvm_vm.c
@@
-34,7
+34,6
@@
#include <string.h>
#include <rte_log.h>
#include <string.h>
#include <rte_log.h>
-#include <rte_config.h>
#include "guest_channel.h"
#include "channel_commands.h"
#include "guest_channel.h"
#include "channel_commands.h"
@@
-107,7
+106,8
@@
send_msg(unsigned lcore_id, uint32_t scale_direction)
ret = guest_channel_send_msg(&pkt[lcore_id], lcore_id);
if (ret == 0)
return 1;
ret = guest_channel_send_msg(&pkt[lcore_id], lcore_id);
if (ret == 0)
return 1;
- RTE_LOG(DEBUG, POWER, "Error sending message: %s\n", strerror(ret));
+ RTE_LOG(DEBUG, POWER, "Error sending message: %s\n",
+ ret > 0 ? strerror(ret) : "channel not connected");
return -1;
}
return -1;
}