Skip to content

Commit

Permalink
Merge "nova: unset cpu_model on aarch64"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Feb 23, 2024
2 parents ed41f85 + 28bed12 commit 8bc99f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/nova_plugins/hypervisor-libvirt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ function configure_nova_hypervisor {
# arm64-specific configuration
if is_arch "aarch64"; then
iniset $NOVA_CONF libvirt cpu_mode "host-passthrough"
# NOTE(mnaser): We cannot have `cpu_model` set if the `cpu_mode` is
# set to `host-passthrough`, or `nova-compute` refuses to
# start.
inidelete $NOVA_CONF libvirt cpu_model
fi

if isset ENABLE_FILE_INJECTION; then
Expand Down

0 comments on commit 8bc99f3

Please sign in to comment.