diff mbox series

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

Message ID 20240913131858.418407-1-thuth@redhat.com (mailing list archive)
State New, archived
Headers show
Series hw/virtio/Kconfig: Include vhost-user-scmi only on arm targets | expand

Commit Message

Thomas Huth Sept. 13, 2024, 1:18 p.m. UTC
The System Control and Management Interface is specific to arm
machines, so don't include this device in non-arm targets.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 hw/virtio/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Milan Zamazal Sept. 16, 2024, 11:14 a.m. UTC | #1
Thomas Huth <thuth@redhat.com> writes:

> The System Control and Management Interface is specific to arm
> machines, so don't include this device in non-arm targets.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>

Reviewed-by: Milan Zamazal <mzamazal@redhat.com>

Thank you,
Milan

> ---
>  hw/virtio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/virtio/Kconfig b/hw/virtio/Kconfig
> index aa63ff7fd4..bea5be4d4a 100644
> --- a/hw/virtio/Kconfig
> +++ b/hw/virtio/Kconfig
> @@ -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
Michael Tokarev Sept. 17, 2024, 9:04 a.m. UTC | #2
On 13.09.2024 16:18, Thomas Huth wrote:
> 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
diff mbox series

Patch

diff --git a/hw/virtio/Kconfig b/hw/virtio/Kconfig
index aa63ff7fd4..bea5be4d4a 100644
--- a/hw/virtio/Kconfig
+++ b/hw/virtio/Kconfig
@@ -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