[libvirt PATCH v3 5/7] api: add virNodeDeviceIsPersistent()/IsActive()