Re: [pve-devel] [PATCH guest-common v3 1/4] mapping: pci: rework properties check

2024-05-31 Thread Fiona Ebner
Am 19.04.24 um 14:45 schrieb Dominik Csapak: > rename '$cfg' to '$mapping', 'correct' to 'expected' > reword the error messages > also check keys from the configured props not only the expected ones > Would've been nicer as multiple commits. > previously we only checked the keys from the 'correc

[pve-devel] [PATCH guest-common v3 1/4] mapping: pci: rework properties check

2024-04-19 Thread Dominik Csapak
rename '$cfg' to '$mapping', 'correct' to 'expected' reword the error messages also check keys from the configured props not only the expected ones previously we only checked the keys from the 'correct_props' hash but that was unintended. We now check the keys from both, but extract the relevant p