From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 819326A1E0 for ; Tue, 11 Aug 2020 12:59:22 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 74E721C87B for ; Tue, 11 Aug 2020 12:59:22 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [212.186.127.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id 267F11C871 for ; Tue, 11 Aug 2020 12:59:21 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id DE2BB44589 for ; Tue, 11 Aug 2020 12:59:20 +0200 (CEST) Date: Tue, 11 Aug 2020 12:59:12 +0200 From: Fabian =?iso-8859-1?q?Gr=FCnbichler?= To: Proxmox VE development discussion References: <20200811104703.4203-1-f.ebner@proxmox.com> In-Reply-To: <20200811104703.4203-1-f.ebner@proxmox.com> MIME-Version: 1.0 User-Agent: astroid/0.15.0 (https://github.com/astroidmail/astroid) Message-Id: <1597143543.thc9e92m5w.astroid@nora.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-LEVEL: Spam detection results: 0 AWL 0.041 Adjusted score from AWL reputation of From: address KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [cpuconfig.pm, proxmox.com] Subject: [pve-devel] applied: [PATCH qemu-server] Add dot character to CPU commandline regular expression X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2020 10:59:22 -0000 On August 11, 2020 12:47 pm, Fabian Ebner wrote: > to be able to parse CPU features like "+sse4.2" correctly. >=20 > Reported here: https://forum.proxmox.com/threads/zsf-snapshot-unable-to-p= arse-value-of-runningcpu-got-undefined-value.74094/ >=20 > Signed-off-by: Fabian Ebner > --- > PVE/QemuServer/CPUConfig.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/PVE/QemuServer/CPUConfig.pm b/PVE/QemuServer/CPUConfig.pm > index 8ed898c..4351cfd 100644 > --- a/PVE/QemuServer/CPUConfig.pm > +++ b/PVE/QemuServer/CPUConfig.pm > @@ -107,7 +107,7 @@ my @supported_cpu_flags =3D ( > my $cpu_flag_supported_re =3D qr/([+-])(@{[join('|', @supported_cpu_flag= s)]})/; > my $cpu_flag_any_re =3D qr/([+-])([a-zA-Z0-9\-_\.]+)/; > =20 > -our $qemu_cmdline_cpu_re =3D qr/^((?>[+-]?[\w\-_=3D]+,?)+)$/; > +our $qemu_cmdline_cpu_re =3D qr/^((?>[+-]?[\w\-\._=3D]+,?)+)$/; > =20 > my $cpu_fmt =3D { > cputype =3D> { > --=20 > 2.20.1 >=20 >=20 >=20 > _______________________________________________ > pve-devel mailing list > pve-devel@lists.proxmox.com > https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel >=20 >=20 >=20 =