[libvirt] [PATCH] qemuProcessBuildDestroyMemoryPathsImpl: Don't overwrite error

Ján Tomko jtomko at redhat.com
Fri Sep 7 15:16:31 UTC 2018


On Fri, Sep 07, 2018 at 02:09:14PM +0200, Michal Privoznik wrote:
>The qemuSecurityDomainSetPathLabel() function reports perfect
>error itself. Do not overwrite it to something less meaningful.
>

On first glance, I thought AppArmorSetPathLabel does not set a libvirt
error, but it turns out that 'reload_profile' actually is a libvirt
function, despite not following the naming conventions.

>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> src/qemu/qemu_process.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180907/2cab8ec2/attachment-0001.sig>


More information about the libvir-list mailing list