On Fri, 2026-02-20 at 17:18 +0000, Jonathan McDowell wrote: > On Fri, 3 Oct 2025 21:39:41 +1000, you wrote: > > > This series extends the existing SPDM support in QEMU to support > > the > > DSP0286 SPDM Storage Transport [1] for NVMe. SPDM Storage Transport > > uses the NVMe Admin Security Send/Receive commands, as such, > > support > > for these commands have also been added. > > > With the addition of a new `spdm-trans` CLI argument for NVMe > > controllers, users can specify `spdm_trans=nvme` or > > `spdm_trans=doe`. > > This allows for the selection of the SPDM transport. The `doe` > > option > > is the current default, `nvme` would select SPDM Storage Transport > > for > > the controller, where SPDM communication happens over the NVMe > > Admin > > Security Send/Receive commands. > > > Support for DSP0286 already exists in `libspdm` [2] and support for > > the QEMU SPDM server is being upstreamed for `spdm-utils` [3]. This > > series was tested by using `spdm-utils` as the qemu SPDM server > > with > > SPDM Storage Transport support built with `libspdm` v3.8.0, and > > `spdm-utils` also as the SPDM requester. > > Do you have a pointer to the correct spdm-utils version/branch to use > for testing this? I tried wilfred/spdm-storage-v4, which appears to > be > the latest, but it fails to build, and the footnote in your mail is > dangling.
Hey Jonathan, You should be able to use [1] in the host to setup the response server for QEMU. So after cargo build: ``` $ ./target/debug/spdm_utils --qemu-server --spdm-transport- protocol=storage response ``` Then run QEMU with SPDM enabled for an emulated controller, where the transport is NVMe. e.g. -device nvme,drive=mynvme,serial=deadbeef,spdm_port=2323,spdm_trans=nvme... [2] is the latest series adding NVMe support to spdm-utils which should be merged soon, you should be able to use this in the guest to issue requests to the NVMe controller over the storage transport protocol. Sorry for missing links and different branches... all of this should be upstream soon! Wilfred [1] https://github.com/twilfredo/spdm-utils/tree/wilfred/add-spdm-storage-upstream-v6 [2] https://github.com/westerndigitalcorporation/spdm-utils/pull/139
