From d526ba1ae38c1356b23097f898c7f0660e9164db Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Thu, 16 Nov 2023 10:07:16 +0100 Subject: [PATCH] Enable CPU power management by default for libvirt compute Implementes: https://issues.redhat.com/browse/OSPRH-83 --- templates/nova.conf | 2 +- test/functional/novacell_controller_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/templates/nova.conf b/templates/nova.conf index 2b2483d1e..6d1657e78 100644 --- a/templates/nova.conf +++ b/templates/nova.conf @@ -184,8 +184,8 @@ rx_queue_size=512 tx_queue_size=512 swtpm_enabled=True volume_use_multipath=true - live_migration_uri = qemu+ssh://nova@%s/system?keyfile=/var/lib/nova/.ssh/ssh-privatekey +cpu_power_management=true {{end}} {{if (index . "cell_db_address")}} diff --git a/test/functional/novacell_controller_test.go b/test/functional/novacell_controller_test.go index 0ab7bde1d..c3616709a 100644 --- a/test/functional/novacell_controller_test.go +++ b/test/functional/novacell_controller_test.go @@ -276,6 +276,7 @@ var _ = Describe("NovaCell controller", func() { Expect(configData).To( ContainSubstring( "live_migration_uri = qemu+ssh://nova@%s/system?keyfile=/var/lib/nova/.ssh/ssh-privatekey")) + Expect(configData).To(ContainSubstring("cpu_power_management=true")) th.ExpectCondition( cell1.CellCRName,