]> xenbits.xensource.com Git - libvirt.git/commit
qemu: ignore query-sev-capabilities errors
authorJán Tomko <jtomko@redhat.com>
Thu, 14 Jun 2018 07:30:27 +0000 (09:30 +0200)
committerJán Tomko <jtomko@redhat.com>
Thu, 14 Jun 2018 08:51:29 +0000 (10:51 +0200)
commita349c6c21c67ccf4574dcce0669746031d99f603
treec957bb65da630571c6e35a6119176d178e3bc56b
parent5e828d03bf662331579c24677d29e50b9bc33951
qemu: ignore query-sev-capabilities errors

The query-sev-capabilities command fails if SEV is not compiled in,
even though both the command and -object sev-guest are present
in that case :/

Ignore the errors to avoid spamming the logs:
internal error: unable to execute QEMU command 'query-sev-capabilities': SEV feature is not available

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/qemu/qemu_monitor_json.c