[libvirt] [PATCH 3/6] qemu: create object for qemu monitor events
Eric Blake
eblake at redhat.com
Tue Feb 11 15:26:50 UTC 2014
On 02/11/2014 08:15 AM, Daniel P. Berrange wrote:
>>> ---
>>> src/conf/domain_event.c | 140 +++++++++++++++++++++++++++++++++++++++++++++++
>>> src/conf/domain_event.h | 22 ++++++++
>>> src/libvirt_private.syms | 2 +
>>> 3 files changed, 164 insertions(+)
>>
>> I think these APIs should be in src/qemu/qemu_event.{c,h} rather
>> than in the shared codebase. I think it ought to be possible to
>> split the code off, since we've already done separation of the
>> network + domain events + base object evemt classes into distinct
>> files.
>
> Ah, later patches show why this is needed - the remote client driver
> needs access to this API
Yes, but the remote client could just as easily get them from a new file.
I'll go ahead and make the file split (I was 50/50 on whether to create
a new file, and chose the wrong way).
Also, I still need a review on this series, as it is is a prereq to
arbitrary events:
https://www.redhat.com/archives/libvir-list/2014-January/msg01457.html
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140211/60a6d1ec/attachment-0001.sig>
More information about the libvir-list
mailing list