[pve-devel] applied: [PATCH pve-docs] add ibpb, ssbd, virt-ssbd, amd-ssbd, amd-no-ssb, pdpe1gb cpu flags

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Aug 28 11:27:30 CEST 2018


On 8/20/18 5:53 PM, Alexandre Derumier wrote:
> see: https://www.berrange.com/tags/ssbd/
> ---
>  PVE/QemuServer.pm | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index 1c0fba2..015f8f7 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -155,7 +155,7 @@ my $cpu_vendor_list = {
>      max => 'default',
>  };
>  
> -my $cpu_flag = qr/[+-](pcid|spec-ctrl)/;
> +my $cpu_flag = qr/[+-](pcid|spec-ctrl|ibpb|ssbd|virt-ssbd|amd-ssbd|amd-no-ssb|pdpe1gb)/;
>  
>  my $cpu_fmt = {
>      cputype => {
> @@ -174,7 +174,7 @@ my $cpu_fmt = {
>      flags => {
>  	description => "List of additional CPU flags separated by ';'."
>  		     . " Use '+FLAG' to enable, '-FLAG' to disable a flag."
> -		     . " Currently supported flags: 'pcid', 'spec-ctrl'.",
> +		     . " Currently supported flags: 'pcid', 'spec-ctrl', 'ibpb', 'ssbd', 'virt-ssbd', 'amd-ssbd', 'amd-no-ssb', 'pdpe1gb'.",
>  	format_description => '+FLAG[;-FLAG...]',
>  	type => 'string',
>  	pattern => qr/$cpu_flag(;$cpu_flag)*/,
> 

applied (with enhanced commit message, i.e., copying over some relevant
parts of Daniel P. Berrange's post, as links tend often to be dead)




More information about the pve-devel mailing list