[libvirt] [PATCH] qemu_capabilities: Pass pointer to va_list in virQEMUCapsSetVAList

Michal Privoznik mprivozn at redhat.com
Wed Mar 27 16:13:59 UTC 2019


On 3/27/19 4:49 PM, Michal Privoznik wrote:

> 
> Okay, thanks for detailed explanation. I'll probably go with what Dan 
> sugested and make virQEMUCapsSetVAList inline then. It looks safer and 
> more portable.

Actually, that does not work. Because even if I mark the function 
'inline' gcc still produces assembly code that calls the function. So 
I've tried to come around that using attribute always_inline. But for 
some reason it is still not working.

I guess at this point, it's the best to just drop the 
virQEMUCapsSetVAList() completely.

Michal




More information about the libvir-list mailing list