Re: [PATCH v9 16/17] vduse: Introduce VDUSE - vDPA Device in Userspace

From: Jason Wang
Date: Thu Jul 15 2021 - 01:01:26 EST



在 2021/7/15 下午12:03, Yongji Xie 写道:
Which ioctl can be used for this?

I mean we can introduce a new ioctl for that in the future.


Ok, I see.



I wonder if it's better to do something similar to ccw:

1) requires the userspace to update the status bit in the response
2) update the dev->status to the status in the response if no timeout

Then userspace could then set NEEDS_RESET if necessary.

But NEEDS_RESET does not only happen in this case.
Yes, so you need an ioctl for userspace to update the device status
(NEEDS_RESET) probably.

Yes, but I'd like to do that after the initial version is merged since
NEEDS_RESET is not supported now.


Right.

Thanks