spa_prop_get
VERIFY0(spa_prop_get(ztest_spa, &props));
extern int spa_prop_get(spa_t *spa, nvlist_t **nvp);
error = spa_prop_get(spa, &nvp);