[libvirt] [PATCH 01/13] qemu: Create #define for TLS configuration setup.

Peter Krempa pkrempa at redhat.com
Mon Feb 20 09:17:50 UTC 2017


On Mon, Feb 20, 2017 at 08:54:26 +0100, Peter Krempa wrote:
> On Fri, Feb 17, 2017 at 14:39:18 -0500, John Ferlan wrote:
> > Create GET_CONFIG_TLS_CERT to set up the TLS for 'chardev' TLS setting.
> > Soon to be reused.
> > 
> > Signed-off-by: John Ferlan <jferlan at redhat.com>
> > ---
> >  src/qemu/qemu_conf.c | 41 +++++++++++++++++++++++++----------------
> >  1 file changed, 25 insertions(+), 16 deletions(-)
> 
> Is it possible to do this as a function and not a macro?

So, this is going to be reused in the same function. That is okay with
me as long as you #undef the macro right away so that it's clear that
it's not used anywhere else.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170220/d32bd825/attachment-0001.sig>


More information about the libvir-list mailing list