[libvirt] [PATCH 05/20] Allow caps to be NULL when creating virDomainObjPtr instances

Eric Blake eblake at redhat.com
Wed Sep 12 21:07:34 UTC 2012


On 09/11/2012 08:11 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> If no private data needs to be maintained, it can be useful
> to create virDomainObjPtr instances without having a virCapsPtr
> instance around. Adapt the virDomainObjNew() function to allow
> for a NULL caps
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  src/conf/domain_conf.c | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake at 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: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120912/2bd43f1e/attachment-0001.sig>


More information about the libvir-list mailing list