hw/nvme: add SPDM_SOCKET Kconfig dependency
PATCH 1/1 hw/nvme: add SPDM_SOCKET Kconfig dependency
The NVMe emulation code unconditionally calls spdm_socket_*() APIs. Add a Kconfig dependency to avoid build errors when NVME_PCI is enabled without SPDM_SOCKET.
--- hw/nvme/Kconfig | 1 + 1 file changed, 1 insertion(+)
hw/nvme/Kconfig +1 -0
@@ -2,3 +2,4 @@ config NVME_PCI bool default y if PCI_DEVICES || PCIE_DEVICES depends on PCI + select SPDM_SOCKET
Signature · 1 line
2.55.0
Quoted 4 lines · Stefan Hajnoczi
The NVMe emulation code unconditionally calls spdm_socket_*() APIs. Add a
Kconfigdependency to avoid build errors whenNVME_PCIis enabled withoutSPDM_SOCKET.
Quoted 14 lines
Signed-off-by Stefan Hajnoczi <[email protected]>--- hw/nvme/Kconfig | 1 + 1 file changed, 1 insertion(+)hw/nvme/Kconfig +1
-0@@ -2,3 +2,4 @@ config NVME_PCI bool default y if PCI_DEVICES || PCIE_DEVICES depends on PCI + select SPDM_SOCKET
Quoted 22 lines · Stefan Hajnoczi
The NVMe emulation code unconditionally calls spdm_socket_*() APIs. Add a
Kconfigdependency to avoid build errors whenNVME_PCIis enabled withoutSPDM_SOCKET.Signed-off-by Stefan Hajnoczi <[email protected]>--- hw/nvme/Kconfig | 1 + 1 file changed, 1 insertion(+)hw/nvme/Kconfig +1
-0@@ -2,3 +2,4 @@ config NVME_PCI bool default y if PCI_DEVICES || PCIE_DEVICES depends on PCI + select SPDM_SOCKETSignature · 1 line
2.55.0
Stefan, Philippe,
Do you want to grab this through trivial fixes tree or should I send a pull?
Quoted 26 lines · Klaus Jensen
Quoted 22 lines · Stefan Hajnoczi
The NVMe emulation code unconditionally calls spdm_socket_*() APIs. Add a
Kconfigdependency to avoid build errors whenNVME_PCIis enabled withoutSPDM_SOCKET.Signed-off-by Stefan Hajnoczi <[email protected]>--- hw/nvme/Kconfig | 1 + 1 file changed, 1 insertion(+)hw/nvme/Kconfig +1
-0@@ -2,3 +2,4 @@ config NVME_PCI bool default y if PCI_DEVICES || PCIE_DEVICES depends on PCI + select SPDM_SOCKETSignature · 1 line
2.55.0Reviewed-by Klaus Jensen <[email protected]>
Quoted 4 lines
Stefan, Philippe,
Do you want to grab this through trivial fixes tree or should I send a pull?
Sure, queued via hw-misc, thanks!