On Wed, Feb 19, 2025 at 22:27:17 +0530, Harikumar Rajkumar wrote:
From: Chun Feng Wu <danielwuwy(a)163.com>
* Add tests for throttlegroup domain xml processing, including
groups referenced and not referenced by filters
* Add tests for throttlefilter domain xml processing, including
throttle group referenced by different disks
* Add negative test case to report error when iotune is configured
together with throttle filters
Signed-off-by: Chun Feng Wu <danielwuwy(a)163.com>
* Isolate domain xml test
Signed-off-by: Harikumar Rajkumar <harirajkumar230(a)gmail.com>
---
.../throttlefilter-invalid.x86_64-latest.err | 1 +
.../throttlefilter-invalid.xml | 89 +++++++++++++++
.../throttlefilter.x86_64-latest.args | 55 +++++++++
.../throttlefilter.x86_64-latest.xml | 105 ++++++++++++++++++
tests/qemuxmlconfdata/throttlefilter.xml | 95 ++++++++++++++++
tests/qemuxmlconftest.c | 2 +
6 files changed, 347 insertions(+)
create mode 100644 tests/qemuxmlconfdata/throttlefilter-invalid.x86_64-latest.err
create mode 100644 tests/qemuxmlconfdata/throttlefilter-invalid.xml
create mode 100644 tests/qemuxmlconfdata/throttlefilter.x86_64-latest.args
create mode 100644 tests/qemuxmlconfdata/throttlefilter.x86_64-latest.xml
create mode 100644 tests/qemuxmlconfdata/throttlefilter.xml
One of the test cases ought to test also the case when copy-on-read is
enabled.