]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Allow caps to be NULL when creating virDomainObjPtr instances
authorDaniel P. Berrange <berrange@redhat.com>
Thu, 6 Sep 2012 15:32:45 +0000 (16:32 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 13 Sep 2012 11:16:59 +0000 (12:16 +0100)
commitf4780c12dc17fa356905d1651715518c122d1be3
tree75d20ad775571289e03a5448b4d5dcf6ac742ee3
parent985a321ac0cba18f7f6721efd89e7f0e3e7fb2bf
Allow caps to be NULL when creating virDomainObjPtr instances

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@redhat.com>
src/conf/domain_conf.c