6b90a84
snapshot: Allow NULL to virDomainSnapshotObjGetDef Doing so can simplify some callers. Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>