-
Notifications
You must be signed in to change notification settings - Fork 460
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
set custom cpu model - to enable kvm live migration #1020
Comments
without setting the
But with this CPU setting a live migration is not possible:
|
Hi, |
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
System Information
Linux distribution
Ubuntu 20.04.6 LTS
Terraform version
Terraform v1.4.6
Provider and libvirt versions
dmacvicar/libvirt v0.7.1
Checklist
[ x] Is your issue/contribution related with enabling some setting/option exposed by libvirt that the plugin does not yet support, or requires changing/extending the provider terraform schema?
Description of Issue/Question
Setup
(Please provide the full main.tf file for reproducing the issue (Be sure to remove sensitive information)
Additional information:
For enable libvirt live migration I need to set a specific CPU model in XML definition file.
Live migration dont work with "Host passthrough", you need to set a Named model. In my case it looks like:
Also a specific os machine type is needed for live migration:
I could not find any documentation for setting a CPU model and nothing for set an OS machine type. Is there any way to do this?
Documentation: https://qemu-project.gitlab.io/qemu/system/qemu-cpu-models.html
The text was updated successfully, but these errors were encountered: