[pve-devel] [PATCH qemu-server 2/2] add md-clear cpu flag
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Jun 6 17:49:02 CEST 2019
On 6/3/19 3:17 PM, Oguz Bektas wrote:
> Signed-off-by: Oguz Bektas <o.bektas at proxmox.com>
> ---
> PVE/QemuServer.pm | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
> index 1a22fb4..159a90d 100644
> --- a/PVE/QemuServer.pm
> +++ b/PVE/QemuServer.pm
> @@ -166,7 +166,7 @@ my $cpu_vendor_list = {
> max => 'default',
> };
>
> -my $cpu_flag = qr/[+-](pcid|spec-ctrl|ibpb|ssbd|virt-ssbd|amd-ssbd|amd-no-ssb|pdpe1gb)/;
> +my $cpu_flag = qr/[+-](pcid|spec-ctrl|ibpb|ssbd|virt-ssbd|amd-ssbd|amd-no-ssb|pdpe1gb|md-clear)/;
>
> my $cpu_fmt = {
> cputype => {
>
oh, also needs to be added to the format description:
Followed up with:
commit 0ea185610cbf6ee7820464d99a2b295dae6c0284
Author: Thomas Lamprecht <t.lamprecht at proxmox.com>
Date: Thu Jun 6 17:47:41 2019 +0200
followup: mention new md-clear flag also in description
that should really be autogenerated!
Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 159a90d..5f894ce 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -192,7 +192,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', 'ibpb', 'ssbd', 'virt-ssbd', 'amd-ssbd', 'amd-no-ssb', 'pdpe1gb'.",
+ . " Currently supported flags: 'pcid', 'spec-ctrl', 'ibpb', 'ssbd', 'virt-ssbd', 'amd-ssbd', 'amd-no-ssb', 'pdpe1gb', 'md-clear'.",
format_description => '+FLAG[;-FLAG...]',
type => 'string',
pattern => qr/$cpu_flag(;$cpu_flag)*/,
More information about the pve-devel
mailing list