Re: [PATCH v3 5/8] qemu: Refactor qemuDomainGetChardevTLSObjects to converge code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 01, 2017 at 18:30:23 -0500, John Ferlan wrote:
> Create a qemuDomainAddChardevTLSObjects which will encapsulate the
> qemuDomainGetChardevTLSObjects and qemuDomainAddTLSObjects so that
> the callers don't need to worry about the props.
> 
> Move the dev->type and haveTLS checks in to the Add function to avoid
> an unnecessary call to qemuDomainAddTLSObjects
> 
> Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
> ---
>  src/qemu/qemu_hotplug.c | 80 ++++++++++++++++++++++++++-----------------------
>  1 file changed, 43 insertions(+), 37 deletions(-)

ACK

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux