]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Remove iothread 'poll-' value validation
authorPeter Krempa <pkrempa@redhat.com>
Wed, 19 Apr 2023 10:37:01 +0000 (12:37 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 May 2023 12:32:47 +0000 (14:32 +0200)
commit6d8dcc644c15b70c1ded8cccdc8645a3883c2053
tree3861d4d368e4ca50efdae5326731f6b5f93f2a5e
parente094d21004103646e1ddd19f0a572becedb78b24
qemu: Remove iothread 'poll-' value validation

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 misinterpreting the QAPI
definiton.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_monitor_json.c