mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
Merge pull request #800 from homeski/feature/numa_nodes
Feature/numa nodes
This commit is contained in:
11
README.md
11
README.md
@@ -300,7 +300,16 @@ end
|
||||
* `cpu_fallback` - Whether to allow libvirt to fall back to a CPU model close
|
||||
to the specified model if features in the guest CPU are not supported on the
|
||||
host. Defaults to 'allow' if not set. Allowed values: `allow`, `forbid`.
|
||||
* `numa_nodes` - Number of NUMA nodes on guest. Must be a factor of `cpu`.
|
||||
* `numa_nodes` - Specify an array of NUMA nodes for the guest. The syntax is similar to what would be set in the domain XML. `memory` must be in MB. Symmetrical and asymmetrical topologies are supported but make sure your total count of defined CPUs adds up to `v.cpus`.
|
||||
|
||||
The sum of all the memory defined here will act as your total memory for your guest VM. **This sum will override what is set in `v.memory`**
|
||||
```
|
||||
v.cpus = 4
|
||||
v.numa_nodes = [
|
||||
{:cpus => "0-1", :memory => "1024"},
|
||||
{:cpus => "2-3", :memory => "4096"}
|
||||
]
|
||||
```
|
||||
* `loader` - Sets path to custom UEFI loader.
|
||||
* `volume_cache` - Controls the cache mechanism. Possible values are "default",
|
||||
"none", "writethrough", "writeback", "directsync" and "unsafe". [See
|
||||
|
||||
Reference in New Issue
Block a user