]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: command: move PSeries features validation to qemu_domain.c
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Mon, 9 Dec 2019 23:15:06 +0000 (20:15 -0300)
committerCole Robinson <crobinso@redhat.com>
Mon, 16 Dec 2019 22:50:11 +0000 (17:50 -0500)
commit2628247f84a581a8f12e01fd4ffbc04e23ef9489
treea2d7808e145a6533fe1e48b9ada2099be1605579
parentfc3d777b0f505b5a6bf2ef438e2cafd0c5d75a84
qemu: command: move PSeries features validation to qemu_domain.c

Introduce a new function called qemuDomainDefValidatePSeriesFeature()
that will center all the PSeries validation done in qemu_command.c.
qemuDomainDefValidatePSeriesFeature() is then called during domain
define time, in qemuDomainDefValidateFeatures().

qemuxml2argvtest.c is also changed to include all the caps that now
are being validated in define time.

Reviewed-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
tests/qemuxml2argvtest.c