Re: [PATCH v9 1/6] x86/tdx: Add TDX Guest attestation interface driver

Huang, Kai
2022-08-30T02:25:30Z

On Mon, 2022-08-29 at 08:05 +0000, Wang, Wei W wrote:
> On Monday, August 29, 2022 11:15 AM, Huang, Kai wrote:
> > On Mon, 2022-08-22 at 14:44 -0700, Dave Hansen wrote:
> > > What ioctl()s are in the pipeline for the host side?  Are they all
> > > part of /dev/kvm, or are there any TDX-specific "drivers" for the host?
> >
> > Sorry for late reply. Was on vacation last week.
> >
> > AFAICT no ioctl() is in the pipeline for the host side, except those belong to
> > /dev/kvm.
> >
> > I am not 100% sure about TDX live migration support (TDX 1.5), though.
> > Supposedly even there are they should belong to /dev/kvm too. + Wang, wei
> > to confirm.
>
> Not /dev/kvm.
> TDX migration uses kvm device fd and implements a tdx-mig specific driver on it.

OK anyway so the "tdx-mig specific driver" will still be on top of KVM, and we
don't need a new device node at host for it.

--
Thanks,
-Kai