]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: validate: Validate blkdeviotune settings in the validator
authorPeter Krempa <pkrempa@redhat.com>
Mon, 4 May 2020 16:10:31 +0000 (18:10 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 12 May 2020 04:54:59 +0000 (06:54 +0200)
commitca03369c99a87d180ee7dc6f7aaad3bf80a60518
tree52d3ef502d9b084b60c55dc87d8bb6ff4cca3c65
parent0b786e75b68fdc0fad324dd80adf59c6a0b14bee
qemu: validate: Validate blkdeviotune settings in the validator

Move the code from qemuCheckDiskConfigBlkdeviotune in
src/qemu/qemu_commandline.c to
qemuValidateDomainDeviceDefDiskBlkdeviotune.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_validate.c
src/qemu/qemu_validate.h
tests/qemublocktest.c