Skip to contentSkip to conversation

hw/virtio/Kconfig: Include vhost-user-scmi only on arm targets

PATCH Applied Thomas Huth 3 participants 3 messages Sep 13, 2024 – Sep 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/virtio/Kconfig: Include vhost-user-scmi only on arm targets

The System Control and Management Interface is specific to arm machines, so don't include this device in non-arm targets.

---
 hw/virtio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/Kconfig +1 -1
index aa63ff7fd4..bea5be4d4a 100644
@@ -109,4 +109,4 @@ config VHOST_USER_SND
 config VHOST_USER_SCMI
     bool
     default y
-    depends on VIRTIO && VHOST_USER
+    depends on VIRTIO && VHOST_USER && ARM
Signature · 1 line
2.46.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Thomas Huth

The System Control and Management Interface is specific to arm machines, so don't include this device in non-arm targets.

Thank you,
Milan

Quoted 14 lines
---
 hw/virtio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/Kconfig +1 -1
index aa63ff7fd4..bea5be4d4a 100644
@@ -109,4 +109,4 @@ config VHOST_USER_SND
 config VHOST_USER_SCMI
     bool
     default y
-    depends on VIRTIO && VHOST_USER
+    depends on VIRTIO && VHOST_USER && ARM
#2 lore raw
In reply to Thomas Huth
Quoted 2 lines · Thomas Huth

The System Control and Management Interface is specific to arm machines, so don't include this device in non-arm targets.

Picked up for trivial-patches tree, thanks!

/mjt