Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Ansible: Update DPDK
[csit.git]
/
resources
/
libraries
/
python
/
QemuUtils.py
diff --git
a/resources/libraries/python/QemuUtils.py
b/resources/libraries/python/QemuUtils.py
index
f31e153
..
9fb2410
100644
(file)
--- a/
resources/libraries/python/QemuUtils.py
+++ b/
resources/libraries/python/QemuUtils.py
@@
-63,7
+63,7
@@
class QemuUtils:
dpdk_target = u"arm64-armv8a" if self._arch == u"aarch64" \
else u"x86_64-native"
self._testpmd_path = f"{Constants.QEMU_VM_DPDK}/" \
dpdk_target = u"arm64-armv8a" if self._arch == u"aarch64" \
else u"x86_64-native"
self._testpmd_path = f"{Constants.QEMU_VM_DPDK}/" \
- f"{dpdk_target}-linux
app
-gcc/app"
+ f"{dpdk_target}-linux-gcc/app"
self._vm_info = {
u"host": node[u"host"],
u"type": NodeType.VM,
self._vm_info = {
u"host": node[u"host"],
u"type": NodeType.VM,
@@
-611,7
+611,7
@@
class QemuUtils:
message = f"QEMU: Start failed on {self._node[u'host']}!"
try:
DUTSetup.check_huge_page(
message = f"QEMU: Start failed on {self._node[u'host']}!"
try:
DUTSetup.check_huge_page(
- self._node, u"/dev/hugepages",
self._opt.get(u"mem"
))
+ self._node, u"/dev/hugepages",
int(self._opt.get(u"mem")
))
exec_cmd_no_error(
self._node, cmd_opts, timeout=300, sudo=True, message=message
exec_cmd_no_error(
self._node, cmd_opts, timeout=300, sudo=True, message=message