]> xenbits.xensource.com Git - libvirt.git/commit
qemu_capabilities: replace code with function call
authorKristina Hanicova <khanicov@redhat.com>
Tue, 2 Aug 2022 15:50:13 +0000 (17:50 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 3 Aug 2022 10:53:23 +0000 (12:53 +0200)
commit288a297df53fa2b6fbf0d4e78a7cc7ce31dad222
treeb7ca4d1e06b275973f199b64198c3e5f591596f9
parentc0d9adf220dc0d223330a7bac37b174132d330ba
qemu_capabilities: replace code with function call

Since functions virQEMUCapsFillDomainFeatureSEVCaps() and
virQEMUCapsSEVInfoCopy() essentially do the same thing it does
not make sense to have the code duplicated. This patch replaces
the relevant code in the first function with the function call to
the second one.

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Jonathon Jongsma <jjongsma@redhat.com>
src/qemu/qemu_capabilities.c