Re: [PATCH v3 1/3] tpm: vtpm_proxy: Implement new ioctl to get supported flags

From: Stefan Berger
Date: Thu May 04 2017 - 13:33:57 EST


On 05/04/2017 01:31 PM, Jason Gunthorpe wrote:
On Thu, May 04, 2017 at 01:28:17PM -0400, Stefan Berger wrote:

So allowing request_locality to fail from userspace seems reasonable.
What's the best interface to use for this ?
If locality support is enabled then send a request locality packet to
userspace and block until return, just like command execution?

We would have to invent a command for that...