summaryrefslogtreecommitdiff
path: root/libxl.max_event_channels.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-10-12 04:00:49 +0000
committerCoprDistGit <infra@openeuler.org>2023-10-12 04:00:49 +0000
commitc22f60e6e55f1bf300dd76d2222a93911f3b2bb2 (patch)
treeef665e7018377f53612ac2751dcaea35a1c587b6 /libxl.max_event_channels.patch
parent39a4763249cd6289e5019acfe0c98dbb169f5f2e (diff)
automatic import of xenopeneuler22.03_LTS
Diffstat (limited to 'libxl.max_event_channels.patch')
-rw-r--r--libxl.max_event_channels.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/libxl.max_event_channels.patch b/libxl.max_event_channels.patch
new file mode 100644
index 0000000..6c7cffc
--- /dev/null
+++ b/libxl.max_event_channels.patch
@@ -0,0 +1,16 @@
+References: bsc#1167608
+unbound limits for max_event_channels
+1023 is too low for a three digit value of vcpus
+it is difficult to make the value depend on the number of vcpus
+adding devices at runtime also needs event channels
+--- a/tools/libxl/libxl_create.c
++++ b/tools/libxl/libxl_create.c
+@@ -224,7 +224,7 @@ int libxl__domain_build_info_setdefault(
+ b_info->iomem[i].gfn = b_info->iomem[i].start;
+
+ if (!b_info->event_channels)
+- b_info->event_channels = 1023;
++ b_info->event_channels = -1U;
+
+ libxl__arch_domain_build_info_setdefault(gc, b_info);
+ libxl_defbool_setdefault(&b_info->dm_restrict, false);