mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-20 07:59:00 +00:00
Adds xml entries for memory tunables in domain schema
The patch adds xml entries to the domain.rng file. v2: + Fix typo min_guarantee
This commit is contained in:
parent
0cd7823271
commit
6a377990cf
@ -299,6 +299,37 @@
|
||||
</optional>
|
||||
</element>
|
||||
</optional>
|
||||
|
||||
<!-- All the memory/swap related tunables would go in the memtune -->
|
||||
<optional>
|
||||
<element name="memtune">
|
||||
<!-- Maximum memory the VM can use -->
|
||||
<optional>
|
||||
<element name="hard_limit">
|
||||
<ref name="memoryKB"/>
|
||||
</element>
|
||||
</optional>
|
||||
<!-- Minimum memory ascertained for the VM during contention -->
|
||||
<optional>
|
||||
<element name="soft_limit">
|
||||
<ref name="memoryKB"/>
|
||||
</element>
|
||||
</optional>
|
||||
<!-- Minimum amount of memory required to start the VM -->
|
||||
<optional>
|
||||
<element name="min_guarantee">
|
||||
<ref name="memoryKB"/>
|
||||
</element>
|
||||
</optional>
|
||||
<!-- Maximum swap area the VM can use -->
|
||||
<optional>
|
||||
<element name="swap_hard_limit">
|
||||
<ref name="memoryKB"/>
|
||||
</element>
|
||||
</optional>
|
||||
</element>
|
||||
</optional>
|
||||
|
||||
<optional>
|
||||
<element name="vcpu">
|
||||
<optional>
|
||||
|
Loading…
x
Reference in New Issue
Block a user