[libvirt] [PATCH v3 03/13] Turn virDomainObjList into an opaque virObject

Daniel P. Berrange berrange at redhat.com
Mon Feb 4 13:51:49 UTC 2013


On Mon, Feb 04, 2013 at 02:51:19PM +0100, Jiri Denemark wrote:
> On Mon, Feb 04, 2013 at 14:01:27 +0100, Jiri Denemark wrote:
> > On Fri, Feb 01, 2013 at 11:18:25 +0000, Daniel P. Berrange wrote:
> > > From: "Daniel P. Berrange" <berrange at redhat.com>
> > > 
> > > As a step towards making virDomainObjList thread-safe turn it
> > > into an opaque virObject, preventing any direct access to its
> > > internals.
> > > 
> > > As part of this a new method virDomainObjListForEach is
> > > introduced to replace all existing usage of virHashForEach
> > ...
> > ACK with the small issues fixed.
> 
> Oops, that was premature; make check fails after this patch with a lot
> of errors similar to
> 
>     error: failed to connect to the hypervisor
>     error: Class virDomainObjList must derive from virObjectLockable

Hmm, I fixed that, but I guess the fix ended up in the wrong patch

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




More information about the libvir-list mailing list