File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ function configure_nova_hypervisor {
4141 iniset $NOVA_CONF libvirt virt_type " $LIBVIRT_TYPE "
4242 iniset $NOVA_CONF libvirt cpu_mode " $LIBVIRT_CPU_MODE "
4343 if [ " $LIBVIRT_CPU_MODE " == " custom" ] ; then
44- iniset $NOVA_CONF libvirt cpu_model " $LIBVIRT_CPU_MODEL "
44+ iniset $NOVA_CONF libvirt cpu_models " $LIBVIRT_CPU_MODEL "
4545 fi
4646 # Do not enable USB tablet input devices to avoid QEMU CPU overhead.
4747 iniset $NOVA_CONF DEFAULT pointer_model " ps2mouse"
@@ -56,10 +56,10 @@ function configure_nova_hypervisor {
5656 # arm64-specific configuration
5757 if is_arch " aarch64" ; then
5858 iniset $NOVA_CONF libvirt cpu_mode " host-passthrough"
59- # NOTE(mnaser): We cannot have `cpu_model ` set if the `cpu_mode` is
59+ # NOTE(mnaser): We cannot have `cpu_models ` set if the `cpu_mode` is
6060 # set to `host-passthrough`, or `nova-compute` refuses to
6161 # start.
62- inidelete $NOVA_CONF libvirt cpu_model
62+ inidelete $NOVA_CONF libvirt cpu_models
6363 fi
6464
6565 if isset ENABLE_FILE_INJECTION; then
You can’t perform that action at this time.
0 commit comments