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