mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
8d4adf3efa
Allow VMs to be placed into resource groups using the following syntax <resource> <partition>/virtualmachines/production</partition> </resource> A resource cgroup will be backed by some hypervisor specific functionality, such as cgroups with KVM/LXC. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
24 lines
604 B
XML
24 lines
604 B
XML
<domain type='lxc'>
|
|
<name>demo</name>
|
|
<uuid>8369f1ac-7e46-e869-4ca5-759d51478066</uuid>
|
|
<os>
|
|
<type>exe</type>
|
|
<init>/sh</init>
|
|
</os>
|
|
<resource>
|
|
<partition>/virtualmachines</partition>
|
|
</resource>
|
|
<memory unit='KiB'>500000</memory>
|
|
<devices>
|
|
<filesystem type='mount'>
|
|
<source dir='/root/container'/>
|
|
<target dir='/'/>
|
|
</filesystem>
|
|
<filesystem type='mount'>
|
|
<source dir='/home'/>
|
|
<target dir='/home'/>
|
|
</filesystem>
|
|
<console type='pty'/>
|
|
</devices>
|
|
</domain>
|