305-300 · Question #76
In order to use the option dom0_mem to limit the amount of memory assigned to the Xen Domain-0, where must this option be specified?
The correct answer is A. In the bootloader configuration, when Xen is booted. The option dom0_mem is used to set the initial and maximum memory size of the Domain-0, which is the privileged domain that starts first and manages the unprivileged domains (DomU) in Xen. The option dom0_mem must be specified in the bootloader configuration, such as GRUB or…
Question
Options
- AIn the bootloader configuration, when Xen is booted.
- BIn any of Xen's global configuration files.
- CIn its .config file, when the Domain-0 kernel is built.
- DIn the configuration file /etc/xen/Domain-0.cfg, when Xen starts.
- EIn its Makefile, when Xen is built.
How the community answered
(48 responses)- A79% (38)
- B2% (1)
- C4% (2)
- D13% (6)
- E2% (1)
Explanation
The option dom0_mem is used to set the initial and maximum memory size of the Domain-0, which is the privileged domain that starts first and manages the unprivileged domains (DomU) in Xen. The option dom0_mem must be specified in the bootloader configuration, such as GRUB or GRUB, when Xen is booted. This ensures that the Domain-0 kernel can allocate memory for storing memory metadata and network related parameters based on the boot time amount of memory. If the option dom0_mem is not specified in the bootloader configuration, the Domain-0 will use all the available memory on the host system by default, which may cause performance and security issues.
Topics
Community Discussion
No community discussion yet for this question.