]> xenbits.xensource.com Git - libvirt.git/commit
virt-host-validate: Move AMD SEV into a separate func
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 24 Jun 2024 07:22:16 +0000 (09:22 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 25 Jun 2024 12:59:28 +0000 (14:59 +0200)
commit30c01e535d8bed8223c542513f2c93c3ecefa370
tree4fc0c33db6b3aa5603a888e9d622c97d67e048f8
parentfbe97ee17db44b2ef14f4792a8cc0ab40977f80a
virt-host-validate: Move AMD SEV into a separate func

The code that validates AMD SEV is going to be expanded soon.
Move it into its own function to avoid lengthening
virHostValidateSecureGuests() where the code lives now, even
more.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
tools/virt-host-validate-common.c