tpmdd-devel.lists.sourceforge.net archive mirror
 help / color / mirror / Atom feed
* ioctl API for vTPM driver
@ 2016-03-06 12:05 Jarkko Sakkinen
       [not found] ` <20160306120537.GA22702-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 13+ messages in thread
From: Jarkko Sakkinen @ 2016-03-06 12:05 UTC (permalink / raw)
  To: Stefan Berger; +Cc: tpmdd-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi

Some follow-up question that have popped up while I've started to
write a test program for this feature mainly about ioctl API.  It's
better to be extremly cautious here because we will be stuck with this
ioctl forever.

1. Why the ioctl name is VTPM_NEW_DEV but the struct name is
   vtpm_new_pair? It would be better if they both were either
   VTPM_NEW_DEV and vtpm_new_dev or alternatively VTPM_NEW_PAIR
   and vtpm_new_pair.
2. Is 'pair' or 'tuple' a better term?
3. Where is the documentation for the ioctl? I don't think I can
   merge this to my next branch before it exists.
4. I have forgotten why the major and minor numbers were returned.
   My guess is that they were returned so that a container could
   replicate the device? This is one reason why documentation is
   mandatory.

/Jarkko

------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-03-08 19:40 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-06 12:05 ioctl API for vTPM driver Jarkko Sakkinen
     [not found] ` <20160306120537.GA22702-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-03-06 12:11   ` Jarkko Sakkinen
     [not found]     ` <20160306121103.GA23480-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-03-06 12:28       ` Jarkko Sakkinen
     [not found]         ` <201603061621.u26GLsne030524@d01av01.pok.ibm.com>
     [not found]           ` <201603061621.u26GLsne030524-4ZtxiNBBw+3ImUpY6SP3GEEOCMrvLtNR@public.gmane.org>
2016-03-07  9:25             ` Jarkko Sakkinen
     [not found]         ` <20160306122816.GA24077-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-03-06 16:21           ` Stefan Berger
2016-03-07  0:40           ` Stefan Berger
     [not found]             ` <201603070040.u270eq7U019952-CUdSWdNILC7ImUpY6SP3GEEOCMrvLtNR@public.gmane.org>
2016-03-07 20:32               ` Jason Gunthorpe
     [not found]                 ` <20160307203206.GA4303-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-03-07 21:12                   ` Stefan Berger
     [not found]                 ` <201603072115.u27LFcMK001519@d01av01.pok.ibm.com>
     [not found]                   ` <201603072115.u27LFcMK001519-4ZtxiNBBw+3ImUpY6SP3GEEOCMrvLtNR@public.gmane.org>
2016-03-07 21:34                     ` Jason Gunthorpe
     [not found]                       ` <20160307213453.GA4630-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-03-07 22:24                         ` Stefan Berger
     [not found]                       ` <201603072224.u27MOBJO007812@d01av02.pok.ibm.com>
     [not found]                         ` <201603072224.u27MOBJO007812-prK0F/7GlgzImUpY6SP3GEEOCMrvLtNR@public.gmane.org>
2016-03-07 22:40                           ` Jason Gunthorpe
2016-03-08 17:24           ` Stefan Berger
     [not found]         ` <201603081724.u28HOrRB005375@d01av03.pok.ibm.com>
     [not found]           ` <201603081724.u28HOrRB005375-CUdSWdNILC7ImUpY6SP3GEEOCMrvLtNR@public.gmane.org>
2016-03-08 19:40             ` Jarkko Sakkinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).