diff --git a/libvirt.pp b/libvirt.pp index a495386..e39eefb 100644 --- a/libvirt.pp +++ b/libvirt.pp @@ -147,6 +147,10 @@ # Valid values are 256, 512, 1024 # Defaults to $::os_service_default # +# [*file_backed_memory*] +# (optional) Available capacity in MiB for file-backed memory. +# Defaults to $::os_service_default +# class nova::compute::libvirt ( $ensure_package = 'present', $libvirt_virt_type = 'kvm', @@ -175,6 +179,7 @@ class nova::compute::libvirt ( $log_outputs = undef, $rx_queue_size = $::os_service_default, $tx_queue_size = $::os_service_default, + $file_backed_memory = undef, ) inherits nova::params { include ::nova::deps @@ -256,6 +261,7 @@ class nova::compute::libvirt ( 'libvirt/enabled_perf_events': value => join(any2array($libvirt_enabled_perf_events), ','); 'libvirt/rx_queue_size': value => $rx_queue_size; 'libvirt/tx_queue_size': value => $tx_queue_size; + 'libvirt/file_backed_memory': value => $file_backed_memory; } # cpu_model param is only valid if cpu_mode=custom