Skip to content

Commit

Permalink
Enable CPU power management by default for libvirt compute
Browse files Browse the repository at this point in the history
  • Loading branch information
gibizer committed Dec 8, 2023
1 parent 0d4cffa commit d526ba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/nova.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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")}}
Expand Down
1 change: 1 addition & 0 deletions test/functional/novacell_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d526ba1

Please sign in to comment.