-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add vcpupin support #1007
Add vcpupin support #1007
Conversation
Locally, when I attempt to test, I get the following error: $ bundle exec vagrant up --provider=libvirt
You appear to be running Vagrant outside of the official installers.
Note that the installers are what ensure that Vagrant has all required
dependencies, and Vagrant assumes that these dependencies exist. By
running outside of the installer environment, Vagrant may not function
properly. To remove this warning, install Vagrant using one of the
official packages from vagrantup.com.
Bringing machine 'test_vm_test' up with 'libvirt' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
Libvirt Provider:
* The following settings shouldn't exist: cpuaffinity |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
catching up on some older PRs, spotted a bug in how the config option was named versus referenced.
README.md
Outdated
Vagrant.configure("2") do |config| | ||
config.vm.provider :libvirt do |libvirt| | ||
libvirt.cpus = 4 | ||
libvirt.cpuaffinitiy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo using cpuaffinity
here, but cpu_affinity
for the config option below. Guessing that is the source of the failure you were seeing testing locally?
@mark-i-m if you're working on this PR anymore I'd be interested to finish it up |
@acidghost Please do! I unfortunately no longer have the time :/ @electrofelix Thanks for creating this project. It's a useful tool. I wish I had time to work on it. |
Download the latest artifacts for this pull request here: |
|
Pull Request Test Coverage Report for Build 3209997547
💛 - Coveralls |
Pull Request Test Coverage Report for Build 3210030043
💛 - Coveralls |
Maintainers: This PR updates the documentation, please review and apply |
Support tuning to pin which host CPUs the vCPUs will be pinned to.
No description provided.