Skip to content

Commit

Permalink
api: Add vm_storage_disk_live_resize API extension
Browse files Browse the repository at this point in the history
Signed-off-by: Kadin Sayani <[email protected]>
  • Loading branch information
kadinsayani committed Nov 7, 2024
1 parent 5b53ad7 commit 50c1dcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/api-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -2520,3 +2520,7 @@ contains the total available logical CPUs available when LXD started.
## `vm_limits_cpu_pin_strategy`

Adds a new {config:option}`instance-resource-limits:limits.cpu.pin_strategy` configuration option for virtual machines. This option controls the CPU pinning strategy. When set to `none`, CPU auto pinning is disabled. When set to `auto`, CPU auto pinning is enabled.

## `vm_storage_disk_live_resize`

This enables resizing of virtual machine `zfs` and `lvm` disks without requiring a restart for the changes to take effect.
1 change: 1 addition & 0 deletions shared/version/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ var APIExtensions = []string{
"network_ovn_uplink_vlan",
"state_logical_cpus",
"vm_limits_cpu_pin_strategy",
"vm_storage_disk_live_resize",
}

// APIExtensionsCount returns the number of available API extensions.
Expand Down

0 comments on commit 50c1dcd

Please sign in to comment.