mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-02 05:37:19 +00:00
Add dot character to CPU commandline regular expression
to be able to parse CPU features like "+sse4.2" correctly. Reported here: https://forum.proxmox.com/threads/zsf-snapshot-unable-to-parse-value-of-runningcpu-got-undefined-value.74094/ Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
2673ee0b16
commit
c15b597137
@ -107,7 +107,7 @@ my @supported_cpu_flags = (
|
||||
my $cpu_flag_supported_re = qr/([+-])(@{[join('|', @supported_cpu_flags)]})/;
|
||||
my $cpu_flag_any_re = qr/([+-])([a-zA-Z0-9\-_\.]+)/;
|
||||
|
||||
our $qemu_cmdline_cpu_re = qr/^((?>[+-]?[\w\-_=]+,?)+)$/;
|
||||
our $qemu_cmdline_cpu_re = qr/^((?>[+-]?[\w\-\._=]+,?)+)$/;
|
||||
|
||||
my $cpu_fmt = {
|
||||
cputype => {
|
||||
|
Loading…
Reference in New Issue
Block a user