]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf, schema: Switch iothread/poll values to unsignedLong
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 1 Sep 2023 21:28:01 +0000 (23:28 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Mon, 4 Sep 2023 08:07:54 +0000 (10:07 +0200)
commit1612aa4d4acf7c4f6f2efae2ca7272b00afa970a
treec4dc0b89c90a5fd06d0ef08e9dfb680c14ddf628
parentf9947f75b9044fe7273d221eccb34bad7e12daff
conf, schema: Switch iothread/poll values to unsignedLong

They represent nanoseconds, and we accept such values already.  Not that
anyone would use such values in the wild, but even one person testing
QEMU could put in a bigger value and will be bothered with validation
errors after every `virsh edit`.  Also add a test for it.

Resolves: https://issues.redhat.com/browse/RHEL-1717

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
src/conf/schemas/domaincommon.rng
tests/genericxml2xmlindata/iothreadids.xml [new file with mode: 0644]
tests/genericxml2xmltest.c