From: Dan Williams <dan.j.williams@intel.com>
To: Haitao Huang <haitao.huang@linux.intel.com>,
Nikolay Borisov <nik.borisov@suse.com>,
<linux-coco@lists.linux.dev>, Dave Hansen <dave.hansen@intel.com>
Cc: <x86@kernel.org>, <dave.hansen@linux.intel.com>,
<dan.j.williams@intel.com>, <dionnaglaze@google.com>,
<sathyanarayanan.kuppuswamy@linux.intel.com>
Subject: Re: [PATCH] virt: tdx-guest: Deprecate legacy IOCTL-based interface for quote generation
Date: Wed, 31 Jan 2024 20:55:51 -0800 [thread overview]
Message-ID: <65bb2457681ce_65b26294db@dwillia2-mobl3.amr.corp.intel.com.notmuch> (raw)
In-Reply-To: <op.2if3efmtwjvjmi@hhuan26-mobl.amr.corp.intel.com>
Haitao Huang wrote:
> On Wed, 31 Jan 2024 13:05:16 -0600, Dave Hansen <dave.hansen@intel.com>
> wrote:
>
> > On 1/31/24 10:18, Nikolay Borisov wrote:
> >>> There is no clear consensus from this changelog, nor the tags about
> >>> this
> >>> approach. It would be much appreciated if you could make this
> >>> changelog
> >>> more freestanding and make it clear that this approach is acceptable
> >>> to
> >>> both the authors and users of the code you are modifying.
> >>
> >> So how about something along the lines of:
> >>
> >> IOCTL based interface was the natural choice for interacting with the
> >> quote generation machine at a time when there wasn't anything better. In
> >> its current form it's only usable for local attestation but that use
> >> case is also going to be switched to the config-tsm interface. In
> >> preparation for this introduce a Kconfig option which allows the user to
> >> choose to disable the legacy code.
> >
> > That's an interesting theory. Do the users and authors of the TDX code
> > you're Kconfig'ing away agree with you?
> >
>
> As DanM pointed out [1], this ioctl() is not a duplicate of the current
> configfs-tsm ABI. And Local Attestation is a use case mentioned. Can we
> wait until there are two platforms requiring this interface and we have a
> clear idea what the configfs-tsm interface replacement of it is before
> deprecating? A Kconfig to deprecate without alternative implemented also
> does not make sense to me.
Exactly, that's why I asked for the migration path to be made clear in
the changelog for the deprecation patch.
As far as configfs-tsm is concerned it is just a blob transport, whether
the blob is a "quote" or a "report" does not rely matter, but what
matters is users, clearly identifying the blob formats that might be
returned, and limiting backwards incompatible blob format changes.
next prev parent reply other threads:[~2024-02-01 4:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-24 9:38 [PATCH] virt: tdx-guest: Deprecate legacy IOCTL-based interface for quote generation Nikolay Borisov
2024-01-31 7:28 ` Nikolay Borisov
2024-01-31 15:27 ` Dave Hansen
2024-01-31 18:18 ` Nikolay Borisov
2024-01-31 19:05 ` Dave Hansen
2024-02-01 4:14 ` Haitao Huang
2024-02-01 4:55 ` Dan Williams [this message]
2024-01-31 7:48 ` Kuppuswamy Sathyanarayanan
2024-01-31 19:50 ` Dan Williams
2024-01-31 19:56 ` Nikolay Borisov
2024-01-31 20:44 ` Kuppuswamy Sathyanarayanan
2024-01-31 21:00 ` Daniel P. Berrangé
2024-01-31 21:12 ` Dan Williams
2024-02-01 2:52 ` Kuppuswamy Sathyanarayanan
2024-02-01 8:15 ` Daniel P. Berrangé
2024-01-31 21:09 ` Dan Williams
2024-02-08 13:42 ` Mikko Ylinen
2024-02-09 2:23 ` Dan Middleton
2024-02-12 23:12 ` Dan Williams
2024-01-31 20:23 ` Dan Williams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=65bb2457681ce_65b26294db@dwillia2-mobl3.amr.corp.intel.com.notmuch \
--to=dan.j.williams@intel.com \
--cc=dave.hansen@intel.com \
--cc=dave.hansen@linux.intel.com \
--cc=dionnaglaze@google.com \
--cc=haitao.huang@linux.intel.com \
--cc=linux-coco@lists.linux.dev \
--cc=nik.borisov@suse.com \
--cc=sathyanarayanan.kuppuswamy@linux.intel.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).