partition_get_attributes
attrs = partition_get_attributes(dp, errp);
nvlist_t *partition_get_attributes(descriptor_t *desc, int *errp);