]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_validate: Use domaincaps to validate supported launchSecurity type
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Jun 2024 08:51:55 +0000 (10:51 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Jun 2024 12:46:08 +0000 (14:46 +0200)
commitfbe97ee17db44b2ef14f4792a8cc0ab40977f80a
tree1bdd29b35357ec17c88ffe6479cfa7f14c0e3328
parent66df7992d8efd6462148d2ddf39323dc552eb92a
qemu_validate: Use domaincaps to validate supported launchSecurity type

Now that the logic for detecting supported launchSecurity types
has been moved to domain capabilities generation, we can just use
it when validating launchSecurity type. Just like we do for
device models and so on.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_validate.c