Re: [PATCH] conf: Generate agent socket path if missing

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

 



On 02/15/2013 03:47 PM, Eric Blake wrote:
> On 02/15/2013 01:32 PM, Peter Krempa wrote:
>> The callback is a idea that me, Michal and Jiri were discussing earlier.
>> It's meant as a abstraction of what you said. The XML is parsed on many
>> places and the callback would eliminate the need to add the filling
>> function after every call of the parser.
> Furthermore, we are already passing a virCapsPtr capability object
> through to much of the parser - that capability object would be a
> natural place to add whatever callback function pointers are needed.

Ah, I hadn't realized the extent of virCaps usage outside of qemu. It
does look like a good fit, possibly even for a *set* of callback
functions (I haven't thought about exactly what they might be).

--
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]