mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xl.conf: introduce 'domid_policy'
This patch adds a new global 'domid_policy' configuration option to decide how domain id values are allocated for new domains. It may be set to one of two values: "xen", the default value, will cause an invalid domid value to be passed to do_domain_create() preserving the existing behaviour of having Xen choose the domid value during domain_create(). "random" will cause the special RANDOM_DOMID value to be passed to do_domain_create() such that libxl__domain_make() will select a random domid value. Signed-off-by: Paul Durrant <pdurrant@amazon.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
4a3a25678d
commit
64fe38f246
5 files changed
+27
No files matched your search
@@ -1,5 +1,9 @@
|
||||
## Global XL config file ##
|
||||
|
||||
# Set domain-id policy. "xen" means that the hypervisor will choose the
|
||||
# id of a new domain. "random" means that a random value will be chosen.
|
||||
#domid_policy="xen"
|
||||
|
||||
# Control whether dom0 is ballooned down when xen doesn't have enough
|
||||
# free memory to create a domain. "auto" means only balloon if dom0
|
||||
# starts with all the host's memory.
|
||||
|
||||