[PATCH v2 0/3] qemu: Add support for virtio sound model

Rayhan Faizel posted 3 patches 3 weeks ago
Failed in applying to current master (apply log)
docs/formatdomain.rst                         | 11 ++++-
src/conf/domain_conf.c                        | 25 +++++++++++
src/conf/domain_conf.h                        |  4 ++
src/conf/domain_postparse.c                   | 13 +++++-
src/conf/schemas/domaincommon.rng             | 11 +++++
src/libxl/libxl_domain.c                      |  1 +
src/qemu/qemu_capabilities.c                  |  3 ++
src/qemu/qemu_capabilities.h                  |  1 +
src/qemu/qemu_command.c                       | 25 ++++++++++-
src/qemu/qemu_domain_address.c                |  9 ++++
src/qemu/qemu_validate.c                      |  8 ++++
.../caps_8.2.0_aarch64.xml                    |  1 +
.../caps_8.2.0_armv7l.xml                     |  1 +
.../caps_8.2.0_loongarch64.xml                |  1 +
.../qemucapabilitiesdata/caps_8.2.0_s390x.xml |  1 +
.../caps_8.2.0_x86_64.xml                     |  1 +
.../caps_9.0.0_x86_64.xml                     |  1 +
.../arm-vexpressa9-virtio.aarch64-latest.args |  1 +
.../arm-vexpressa9-virtio.aarch64-latest.xml  |  3 ++
.../qemuxmlconfdata/arm-vexpressa9-virtio.xml |  3 +-
.../sound-device-virtio.x86_64-latest.args    | 36 +++++++++++++++
.../sound-device-virtio.x86_64-latest.xml     | 44 +++++++++++++++++++
tests/qemuxmlconfdata/sound-device-virtio.xml | 28 ++++++++++++
tests/qemuxmlconftest.c                       |  1 +
24 files changed, 227 insertions(+), 6 deletions(-)
create mode 100644 tests/qemuxmlconfdata/sound-device-virtio.x86_64-latest.args
create mode 100644 tests/qemuxmlconfdata/sound-device-virtio.x86_64-latest.xml
create mode 100644 tests/qemuxmlconfdata/sound-device-virtio.xml
[PATCH v2 0/3] qemu: Add support for virtio sound model
Posted by Rayhan Faizel 3 weeks ago
virtio-sound-pci and virtio-sound-device were recently introduced
in QEMU 8.2.0.

The full documentation of the virtio sound implementation in QEMU
can be found here:
https://www.qemu.org/docs/master/system/devices/virtio-snd.html

Example:

<sound model='virtio' streams='2'/>

[Changes in v2]

- Added missing break statement that went overlooked.

Rayhan Faizel (3):
  qemu_capabilities: Add QEMU_CAPS_DEVICE_VIRTIO_SOUND capability
  conf: Introduce support for virtio-sound devices
  qemu: Generate command line for sound devices with model 'virtio'

 docs/formatdomain.rst                         | 11 ++++-
 src/conf/domain_conf.c                        | 25 +++++++++++
 src/conf/domain_conf.h                        |  4 ++
 src/conf/domain_postparse.c                   | 13 +++++-
 src/conf/schemas/domaincommon.rng             | 11 +++++
 src/libxl/libxl_domain.c                      |  1 +
 src/qemu/qemu_capabilities.c                  |  3 ++
 src/qemu/qemu_capabilities.h                  |  1 +
 src/qemu/qemu_command.c                       | 25 ++++++++++-
 src/qemu/qemu_domain_address.c                |  9 ++++
 src/qemu/qemu_validate.c                      |  8 ++++
 .../caps_8.2.0_aarch64.xml                    |  1 +
 .../caps_8.2.0_armv7l.xml                     |  1 +
 .../caps_8.2.0_loongarch64.xml                |  1 +
 .../qemucapabilitiesdata/caps_8.2.0_s390x.xml |  1 +
 .../caps_8.2.0_x86_64.xml                     |  1 +
 .../caps_9.0.0_x86_64.xml                     |  1 +
 .../arm-vexpressa9-virtio.aarch64-latest.args |  1 +
 .../arm-vexpressa9-virtio.aarch64-latest.xml  |  3 ++
 .../qemuxmlconfdata/arm-vexpressa9-virtio.xml |  3 +-
 .../sound-device-virtio.x86_64-latest.args    | 36 +++++++++++++++
 .../sound-device-virtio.x86_64-latest.xml     | 44 +++++++++++++++++++
 tests/qemuxmlconfdata/sound-device-virtio.xml | 28 ++++++++++++
 tests/qemuxmlconftest.c                       |  1 +
 24 files changed, 227 insertions(+), 6 deletions(-)
 create mode 100644 tests/qemuxmlconfdata/sound-device-virtio.x86_64-latest.args
 create mode 100644 tests/qemuxmlconfdata/sound-device-virtio.x86_64-latest.xml
 create mode 100644 tests/qemuxmlconfdata/sound-device-virtio.xml

-- 
2.34.1
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH v2 0/3] qemu: Add support for virtio sound model
Posted by Ján Tomko 13 hours ago
On a Friday in 2024, Rayhan Faizel wrote:
>virtio-sound-pci and virtio-sound-device were recently introduced
>in QEMU 8.2.0.
>
>The full documentation of the virtio sound implementation in QEMU
>can be found here:
>https://www.qemu.org/docs/master/system/devices/virtio-snd.html
>
>Example:
>
><sound model='virtio' streams='2'/>
>
>[Changes in v2]
>
>- Added missing break statement that went overlooked.
>
>Rayhan Faizel (3):
>  qemu_capabilities: Add QEMU_CAPS_DEVICE_VIRTIO_SOUND capability
>  conf: Introduce support for virtio-sound devices
>  qemu: Generate command line for sound devices with model 'virtio'
>
> docs/formatdomain.rst                         | 11 ++++-
> src/conf/domain_conf.c                        | 25 +++++++++++
> src/conf/domain_conf.h                        |  4 ++
> src/conf/domain_postparse.c                   | 13 +++++-
> src/conf/schemas/domaincommon.rng             | 11 +++++
> src/libxl/libxl_domain.c                      |  1 +
> src/qemu/qemu_capabilities.c                  |  3 ++
> src/qemu/qemu_capabilities.h                  |  1 +
> src/qemu/qemu_command.c                       | 25 ++++++++++-
> src/qemu/qemu_domain_address.c                |  9 ++++
> src/qemu/qemu_validate.c                      |  8 ++++
> .../caps_8.2.0_aarch64.xml                    |  1 +
> .../caps_8.2.0_armv7l.xml                     |  1 +
> .../caps_8.2.0_loongarch64.xml                |  1 +
> .../qemucapabilitiesdata/caps_8.2.0_s390x.xml |  1 +
> .../caps_8.2.0_x86_64.xml                     |  1 +
> .../caps_9.0.0_x86_64.xml                     |  1 +
> .../arm-vexpressa9-virtio.aarch64-latest.args |  1 +
> .../arm-vexpressa9-virtio.aarch64-latest.xml  |  3 ++
> .../qemuxmlconfdata/arm-vexpressa9-virtio.xml |  3 +-
> .../sound-device-virtio.x86_64-latest.args    | 36 +++++++++++++++
> .../sound-device-virtio.x86_64-latest.xml     | 44 +++++++++++++++++++
> tests/qemuxmlconfdata/sound-device-virtio.xml | 28 ++++++++++++
> tests/qemuxmlconftest.c                       |  1 +
> 24 files changed, 227 insertions(+), 6 deletions(-)
> create mode 100644 tests/qemuxmlconfdata/sound-device-virtio.x86_64-latest.args
> create mode 100644 tests/qemuxmlconfdata/sound-device-virtio.x86_64-latest.xml
> create mode 100644 tests/qemuxmlconfdata/sound-device-virtio.xml
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>
and pushed now

Jano
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH v2 0/3] qemu: Add support for virtio sound model
Posted by Rayhan Faizel 15 hours ago
ping v3

-- 
Rayhan Faizel
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH v2 0/3] qemu: Add support for virtio sound model
Posted by Rayhan Faizel 2 weeks ago
Hi,

A week has passed, so I'm bumping this.
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org
Re: [PATCH v2 0/3] qemu: Add support for virtio sound model
Posted by Rayhan Faizel 1 week ago
Ping v2

On Thu, Apr 18, 2024 at 11:48 AM Rayhan Faizel <rayhan.faizel@gmail.com> wrote:
>
> Hi,
>
> A week has passed, so I'm bumping this.



-- 
Rayhan Faizel
_______________________________________________
Devel mailing list -- devel@lists.libvirt.org
To unsubscribe send an email to devel-leave@lists.libvirt.org