Re: [PATCH v3 21/25] qemu: Remove iothread 'poll-' value validation

2023-04-19 Thread Ján Tomko
On a Wednesday in 2023, Peter Krempa wrote: QEMU accepts even values bigger than INT_MAX. The reasoning for these checks was that the QAPI definition declares them as 'int', but in QAPI terms that's any number as it's JSON. Remove the validation as well as the comment missintepreting the QAPI

[PATCH v3 21/25] qemu: Remove iothread 'poll-' value validation

2023-04-19 Thread Peter Krempa
QEMU accepts even values bigger than INT_MAX. The reasoning for these checks was that the QAPI definition declares them as 'int', but in QAPI terms that's any number as it's JSON. Remove the validation as well as the comment missintepreting the QAPI definiton. Signed-off-by: Peter Krempa ---