Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Passing Flags from host machine to the Guest VM
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Some CPUs do not pass the host machine CPU flags to the guest VMs by default. Which causes guest VMs unable to support that flags.
Environment
- Platform9 Managed OpenStack - v4.0 and Higher
- Host machine - model name : Intel(R) Xeon(R) Silver 4214R CPU @ 2.40GHz
- Guest VM - model name : QEMU Virtual CPU version 2.5+
Procedure
We need to pass the flags as extra parameters to resolve this issue. As shown in the below example guest VM was not getting avx flag from host, so we have passed the flag using cpu_model_extra_flags in "nova_override.conf".
lscpu - guest VM
flags : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pse36 clflush mmx fxsr sse sse2 syscall nx lm rep_good nopl xtopology eagerfpu pni cx16 x2apic hypervisor lahf_lmlscpu - hostVM
xxxxxxxxxx//deleted some flags flags : avx avx2 avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vlNow, passing the flags in "/opt/pf9/etc/nova/conf.d/nova_override.conf" file as shown below:
nova_override.conf
xxxxxxxxxx[libvirt]cpu_mode = host-modelcpu_model_extra_flags = avxAfter updating the file restart the pf9-ostackhost service and reboot the guest VM.
Javascript
xxxxxxxxxx# sudo systemctl restart pf9-ostackhost # openstack server reboot --hard [Instance_UUID]Now, guest VM will start showing that flags.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message