All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hw/nvme: add SPDM_SOCKET Kconfig dependency
@ 2026-08-10 21:48 Stefan Hajnoczi
  2026-08-10 21:54 ` Philippe Mathieu-Daudé
  2026-08-11  6:22 ` Klaus Jensen
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2026-08-10 21:48 UTC (permalink / raw)
  To: qemu-devel
  Cc: Keith Busch, Klaus Jensen, qemu-block, Paolo Bonzini,
	Jesper Devantier, Stefan Hajnoczi

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.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 hw/nvme/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/nvme/Kconfig b/hw/nvme/Kconfig
index cfa2ab0f9d5..cfeeed64cd7 100644
--- a/hw/nvme/Kconfig
+++ b/hw/nvme/Kconfig
@@ -2,3 +2,4 @@ config NVME_PCI
     bool
     default y if PCI_DEVICES || PCIE_DEVICES
     depends on PCI
+    select SPDM_SOCKET
-- 
2.55.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-11  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-10 21:48 [PATCH] hw/nvme: add SPDM_SOCKET Kconfig dependency Stefan Hajnoczi
2026-08-10 21:54 ` Philippe Mathieu-Daudé
2026-08-11  6:22 ` Klaus Jensen
2026-08-11  8:31   ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.