Re: [PATCH v2 16/31] coco/tdx-host: Support Link TSM for TDX host
From: Ackerley Tng
Date: Mon Jul 06 2026 - 16:13:07 EST
Xu Yilun <yilun.xu@xxxxxxxxxxxxxxx> writes:
>
> [...snip...]
>
> +static struct pci_tsm_ops tdx_tsm_link_ops = {
> + .probe = tdx_tsm_link_probe,
> + .remove = tdx_tsm_link_remove,
> + .connect = tdx_tsm_link_connect,
Since .connect is called from pci_tsm_connect(), which is in turn called
from connect_store, is the plan that the VMM should write to
/sys/bus/pci/devices/.../tsm/connect
to set up SPDM and IDE before starting the guest?
> + .disconnect = tdx_tsm_link_disconnect,
> +};
> +
>
> [...snip...]
>