]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix error code for SEV launchSecurity unsupported
authorBoris Fiuczynski <fiuczy@linux.ibm.com>
Fri, 16 Jul 2021 09:44:35 +0000 (11:44 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Wed, 21 Jul 2021 11:31:15 +0000 (13:31 +0200)
commitc4caa1e73667bc9a03d57eceddd5638c3ce22455
tree4fb90760e5ae5be7ce5f9b535d44c93a66af22d6
parentd6ca1ac981044ad4f16105b0a1260d330eeadb9d
qemu: Fix error code for SEV launchSecurity unsupported

When SEV is not supported but specified in the domain XML by a user it
should not result in an internal error (VIR_ERR_INTERNAL_ERROR)
therefore switching to XML error (VIR_ERR_CONFIG_UNSUPPORTED).

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
src/qemu/qemu_validate.c