Re: [PATCH 3/6] qemu: create object for qemu monitor events

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

 



On Tue, Feb 11, 2014 at 08:26:50AM -0700, Eric Blake wrote:
> 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).

But if we put it in the src/qemu directory this would create complexity
for our build process when remote driver is enabled but qemu driver is
disabled.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

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