Skip to contentSkip to conversation

qemu.rst: audio: reference to Command-Line options

PATCH Superseded Atanas Bunchev 2 participants 4 messages Nov 9, 2022

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu.rst: audio: reference to Command-Line options

The previous statement can cause confusion, because this is the first time when the audio argument is mentioned.

---
 documentation/dev-manual/qemu.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
documentation/dev-manual/qemu.rst +3 -2
index 5a4a82ce6..4fcfd0686 100644
@@ -125,8 +125,9 @@ available. Follow these general steps to run QEMU:
    -  This example specifies to boot an :term:`Initramfs` image and to
       enable audio in QEMU. For this case, ``runqemu`` sets the internal
       variable ``FSTYPE`` to ``cpio.gz``. Also, for audio to be enabled,
-      an appropriate driver must be installed (see the previous
-      description for the ``audio`` option for more information).
+      an appropriate driver must be installed (see the description for
+      the ``audio`` option in the Command-Line Options section below
+      for more information).
       ::
 
          $ runqemu qemux86-64 ramfs audio
Signature · 1 line
2.37.4
#1 lore raw

Hi Atanas,

Quoted 13 lines · Atanas Bunchev

The previous statement can cause confusion, because this is the first time when the audio argument is mentioned.

---
  documentation/dev-manual/qemu.rst | 5 +++--
  1 file changed, 3 insertions(+), 2 deletions(-)
documentation/dev-manual/qemu.rst +0 -0
index 5a4a82ce6..4fcfd0686 100644

documentation/dev-manual/qemu.rst available. Follow these general steps to run QEMU: · line 130

Quoted 8 lines
documentation/dev-manual/qemu.rst +3 -2
@@ -125,8 +125,9 @@ available. Follow these general steps to run QEMU:
     -  This example specifies to boot an :term:`Initramfs` image and to
        enable audio in QEMU. For this case, ``runqemu`` sets the internal
        variable ``FSTYPE`` to ``cpio.gz``. Also, for audio to be enabled,
-      an appropriate driver must be installed (see the previous
-      description for the ``audio`` option for more information).
+      an appropriate driver must be installed (see the description for
+      the ``audio`` option in the Command-Line Options section below
+      for more information).

We can use a reference here so this always is up-to-date.

I can suggest the following diff:

documentation/dev-manual/qemu.rst +2 -2
index 5a4a82ce6..8f70eec10 100644
@@ -125,8 +125,8 @@ available. Follow these general steps to run QEMU:
    -  This example specifies to boot an :term:`Initramfs` image and to
       enable audio in QEMU. For this case, ``runqemu`` sets the internal
       variable ``FSTYPE`` to ``cpio.gz``. Also, for audio to be enabled,
-      an appropriate driver must be installed (see the previous
-      description for the ``audio`` option for more information).
+      an appropriate driver must be installed (see the ``audio`` option
+      in :ref:`dev-manual/qemu:\`\`runqemu\`\` command-line options` for more information).
       ::
 
          $ runqemu qemux86-64 ramfs audio

What do you think?

Cheers,
Quentin

#2 lore raw

Hi Quentin,

I tried to use reference initially, but I couldn't get it to render properly in my github clone.

If it renders as expected in the documentation, i do approve the suggested change. Thanks!

Cheers,
Atanas

Quoted 50 lines · Quentin Schulz

Hi Atanas,

Quoted 13 lines · Atanas Bunchev

The previous statement can cause confusion, because this is the first time when the audio argument is mentioned.

---
  documentation/dev-manual/qemu.rst | 5 +++--

  1 file changed, 3 insertions(+), 2 deletions(-)
documentation/dev-manual/qemu.rst +0 -0
index 5a4a82ce6..4fcfd0686 100644
@@ -125,8 +125,9 @@ available. Follow these general steps to run QEMU:
Quoted 8 lines

     -  This example specifies to boot an :term:Initramfs image and to enable audio in QEMU. For this case, ``runqemu`` sets the internal variable ``FSTYPE`` to ``cpio.gz``. Also, for audio to be enabled, -      an appropriate driver must be installed (see the previous -      description for the ``audio`` option for more information). +      an appropriate driver must be installed (see the description for +      the ``audio`` option in the Command-Line Options section below +      for more information).

We can use a reference here so this always is up-to-date.

I can suggest the following diff:

documentation/dev-manual/qemu.rst +0 -0
index 5a4a82ce6..8f70eec10 100644
@@ -125,8 +125,8 @@ available. Follow these general steps to run QEMU:

    -  This example specifies to boot an :term:Initramfs image and to enable audio in QEMU. For this case, ``runqemu`` sets the internal variable ``FSTYPE`` to ``cpio.gz``. Also, for audio to be enabled, -      an appropriate driver must be installed (see the previous -      description for the ``audio`` option for more information). +      an appropriate driver must be installed (see the ``audio`` option +      in :ref:dev-manual/qemu:\\runqemu\\ command-line options for more information).
       ::

          $ runqemu qemux86-64 ramfs audio

What do you think?

Cheers,
Quentin

#3 lore raw

Hi Atanas,

Quoted 4 lines · Atanas Bunchev

Hi Quentin,

I tried to use reference initially, but I couldn't get it to render properly in my github clone.

Yeah, you need to escape the backticks in references, not really obvious :/

Quoted 2 lines

If it renders as expected in the documentation, i do approve the suggested change. Thanks!

Can you send a new patch please?

Cheers,
Quentin