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

From
Jason Wang <hidden>
Date
2021-07-15 05:01:25
Also in
kvm, linux-fsdevel, linux-iommu, lkml, virtualization
Reply to
Yongji Xie, 2021-07-15
在 2021/7/15 下午12:03, Yongji Xie 写道:
quoted
Which ioctl can be used for this?
I mean we can introduce a new ioctl for that in the future.

Ok, I see.

quoted
quoted
quoted
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

  
Thread (45 messages) 45 messages, 7 authors, last reply 2021-12-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help