mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Allow specification of domain shares (#925)
Weighted priority of the domain relative to others on the host.
This commit is contained in:
@@ -14,6 +14,9 @@
|
||||
<numatune>
|
||||
<memory nodeset='1-4,^3,6'/>
|
||||
</numatune>
|
||||
<cputune>
|
||||
<shares>1024</shares>
|
||||
</cputune>
|
||||
|
||||
<os>
|
||||
<type arch='x86_64' machine='pc-compatible'>hvm</type>
|
||||
|
||||
@@ -76,6 +76,7 @@ describe 'templates/domain' do
|
||||
|
||||
domain.qemuargs(value: '-device')
|
||||
domain.qemuargs(value: 'dummy-device')
|
||||
domain.shares = '1024'
|
||||
domain.cpuset = '1-4,^3,6'
|
||||
domain.nodeset = '1-4,^3,6'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user