Michal Privoznik d00816209e qemu_capabilities: Probe SEV capabilities even for QEMU_CAPS_SEV_SNP_GUEST
While it's very unlikely to have QEMU that supports SEV-SNP but
doesn't support plain SEV, for completeness sake we ought to
query SEV capabilities if QEMU supports either. And similarly to
QEMU_CAPS_SEV_GUEST we need to clear the capability if talking to
QEMU proves SEV is not really supported.

This in turn removes the 'sev-snp-guest' capability from one of
our test cases as Peter's machine he uses to refresh capabilities
is not SEV capable. But that's okay. It's consistent with
'sev-guest' capability.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2024-06-25 14:46:00 +02:00
..
2024-03-21 14:42:27 +01:00
2024-03-14 15:17:48 +01:00
2024-03-21 14:42:20 +01:00
2024-03-14 15:17:48 +01:00
2024-03-14 15:17:48 +01:00
2024-03-14 15:17:48 +01:00
2024-03-14 15:17:48 +01:00
2024-05-16 09:03:48 +02:00
2024-03-14 15:17:48 +01:00
2024-03-14 15:17:48 +01:00
2021-09-09 18:06:13 +02:00