dualfroz 5021bad460 fix #6907: memory: allow multi-digit host nodes with hugepages
When hugepages are enabled, each custom NUMA node must be bound to a
single host node. This was checked with a regex that only accepts a
single digit, so any host node from 10 upwards was rejected with a
misleading "more than 1 hostnode value" error, making hugepages
unusable on hosts with more than ten NUMA nodes.

Accept any single node number instead. Ranges and lists are still
rejected as before.

Signed-off-by: Michal Fox <me@dualfroz.com>
2026-09-25 11:27:21 +02:00
S
Description
My contributions to proxmox-git/qemu-server: 12 commits
166 KiB
0 Stars 1 Watchers 0 Forks
Languages
Perl 99.6%
Batchfile 0.4%