aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/report/introduction/methodology_kvm_vms_vhost_user.rst3
-rw-r--r--resources/tools/presentation/generator_plots.py4
2 files changed, 4 insertions, 3 deletions
diff --git a/docs/report/introduction/methodology_kvm_vms_vhost_user.rst b/docs/report/introduction/methodology_kvm_vms_vhost_user.rst
index 76a6baa8e6..dae1e5a875 100644
--- a/docs/report/introduction/methodology_kvm_vms_vhost_user.rst
+++ b/docs/report/introduction/methodology_kvm_vms_vhost_user.rst
@@ -60,6 +60,7 @@ filesystem as read only guest OS filesystem.
Example of custom init script for the kernel VM:
::
+
#!/bin/bash
mount -t sysfs -o "nodev,noexec,nosuid" sysfs /sys
mount -t proc -o "nodev,noexec,nosuid" proc /proc
@@ -84,4 +85,4 @@ applications installed on host OS, for example VPP of the same version as
running on host OS.
Kernel KVM image must be available on host filesystem as a prerequisite.
-The path to kernel image is defined in `Constants.py`. \ No newline at end of file
+The path to kernel image is defined in `Constants.py`.
diff --git a/resources/tools/presentation/generator_plots.py b/resources/tools/presentation/generator_plots.py
index 0fab894193..56b9a89a91 100644
--- a/resources/tools/presentation/generator_plots.py
+++ b/resources/tools/presentation/generator_plots.py
@@ -1431,10 +1431,10 @@ def plot_service_density_heatmap_compare(plot, input_data):
if groups and len(groups.groups()) == 3:
if str(groups.group(3)) == \
plot["reference"]["include"]:
- vals[c][n]["vals_c"].append(result)
+ vals[c][n]["vals_r"].append(result)
elif str(groups.group(3)) == \
plot["compare"]["include"]:
- vals[c][n]["vals_r"].append(result)
+ vals[c][n]["vals_c"].append(result)
break
if not vals:
logging.error("No data.")