[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH 07/27] virtio-snd: Add properties for class init
From: |
Laurent Vivier |
Subject: |
Re: [RFC PATCH 07/27] virtio-snd: Add properties for class init |
Date: |
Tue, 4 May 2021 15:32:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
Le 29/04/2021 à 14:04, Shreyansh Chouhan a écrit :
> Added properties and function stubs for virtio sound device class
> init.
>
> Signed-off-by: Shreyansh Chouhan <chouhan.shreyansh2702@gmail.com>
> ---
> hw/audio/Kconfig | 5 ++
> hw/audio/meson.build | 1 +
> hw/audio/virtio-snd.c | 126 ++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 132 insertions(+)
> create mode 100644 hw/audio/virtio-snd.c
>
> diff --git a/hw/audio/Kconfig b/hw/audio/Kconfig
> index e9c6fed826..00b4e1ca88 100644
> --- a/hw/audio/Kconfig
> +++ b/hw/audio/Kconfig
> @@ -50,3 +50,8 @@ config CS4231
>
> config MARVELL_88W8618
> bool
> +
> +config VIRTIO_SND
> + bool
> + default y if PCI_DEVICES
> + depends on PCI
There is nothing specific to PCI in that code, why do you prevent the use of
virtio-snd as a MMIO
device?
Thanks,
Laurent
- Re: [RFC PATCH 07/27] virtio-snd: Add properties for class init,
Laurent Vivier <=