[PATCH v3] docs/system: add general note about architecture and machine differences

Linisha posted 1 patch 4 weeks, 1 day ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20260626181118.1136-1-linisha232@gmail.com
Maintainers: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>
docs/system/introduction.rst | 9 +++++++++
1 file changed, 9 insertions(+)
[PATCH v3] docs/system: add general note about architecture and machine differences
Posted by Linisha 4 weeks, 1 day ago
Add a note near the start of the introduction explaining that QEMU
options, properties, and command lines may differ between target
architectures and machine types. This helps prevent confusion when
examples shown for one architecture do not work for another, such as
the pflash0/pflash1 options visible in -machine help on some machines
but not others.

Suggested-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Buglink: https://gitlab.com/qemu-project/qemu/-/issues/3254
Signed-off-by: Linisha <linisha232@gmail.com>
---

v3:
- Wrap commit message body at 76 characters (Daniel P. Berrangé)
- Add Reviewed-by: Daniel P. Berrangé

v2: Take a different approach based on review feedback from Daniel
    Berrangé and Peter Maydell. Instead of incorrectly claiming
    pflash0/pflash1 are virt-only (they actually work on x86 pc/q35
    machines too), add a general note near the start of the introduction
    about how options, properties, and command lines may differ between
    target architectures and machine types.

 docs/system/introduction.rst | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docs/system/introduction.rst b/docs/system/introduction.rst
index bec7291e47..8d9ef61d26 100644
--- a/docs/system/introduction.rst
+++ b/docs/system/introduction.rst
@@ -1,6 +1,15 @@
 Introduction
 ============

+.. note::
+   QEMU supports many different target CPU architectures and many
+   different machine types for each architecture. Options, properties,
+   and command lines that work for one architecture or machine type
+   will not necessarily work on another. The examples shown in this
+   manual are specific to the architecture and machine type being
+   demonstrated. When in doubt, consult the documentation for your
+   specific target architecture and machine type.
+
 .. _Accelerators:

 Virtualisation Accelerators
--
2.47.0.windows.1


Re: [PATCH v3] docs/system: add general note about architecture and machine differences
Posted by Pierrick Bouvier 3 weeks, 5 days ago
On 6/26/2026 11:11 AM, Linisha wrote:
> Add a note near the start of the introduction explaining that QEMU
> options, properties, and command lines may differ between target
> architectures and machine types. This helps prevent confusion when
> examples shown for one architecture do not work for another, such as
> the pflash0/pflash1 options visible in -machine help on some machines
> but not others.
> 
> Suggested-by: Peter Maydell <peter.maydell@linaro.org>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
> Buglink: https://gitlab.com/qemu-project/qemu/-/issues/3254
> Signed-off-by: Linisha <linisha232@gmail.com>
> ---
> 
> v3:
> - Wrap commit message body at 76 characters (Daniel P. Berrangé)
> - Add Reviewed-by: Daniel P. Berrangé
> 
> v2: Take a different approach based on review feedback from Daniel
>     Berrangé and Peter Maydell. Instead of incorrectly claiming
>     pflash0/pflash1 are virt-only (they actually work on x86 pc/q35
>     machines too), add a general note near the start of the introduction
>     about how options, properties, and command lines may differ between
>     target architectures and machine types.
> 
>  docs/system/introduction.rst | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

This was merged into master (20553466cc47af6a8c95f665b601fce3c852e503).
Thank you for your contribution!

Regards,
Pierrick

Re: [PATCH v3] docs/system: add general note about architecture and machine differences
Posted by linisha 3 weeks, 5 days ago
😊

linisha reacted via Gmail
<https://www.google.com/gmail/about/?utm_source=gmail-in-product&utm_medium=et&utm_campaign=emojireactionemail#app>

On Mon, 29 Jun, 2026, 9:22 pm Pierrick Bouvier, <
pierrick.bouvier@oss.qualcomm.com> wrote:

> On 6/26/2026 11:11 AM, Linisha wrote:
> > Add a note near the start of the introduction explaining that QEMU
> > options, properties, and command lines may differ between target
> > architectures and machine types. This helps prevent confusion when
> > examples shown for one architecture do not work for another, such as
> > the pflash0/pflash1 options visible in -machine help on some machines
> > but not others.
> >
> > Suggested-by: Peter Maydell <peter.maydell@linaro.org>
> > Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
> > Buglink: https://gitlab.com/qemu-project/qemu/-/issues/3254
> > Signed-off-by: Linisha <linisha232@gmail.com>
> > ---
> >
> > v3:
> > - Wrap commit message body at 76 characters (Daniel P. Berrangé)
> > - Add Reviewed-by: Daniel P. Berrangé
> >
> > v2: Take a different approach based on review feedback from Daniel
> >     Berrangé and Peter Maydell. Instead of incorrectly claiming
> >     pflash0/pflash1 are virt-only (they actually work on x86 pc/q35
> >     machines too), add a general note near the start of the introduction
> >     about how options, properties, and command lines may differ between
> >     target architectures and machine types.
> >
> >  docs/system/introduction.rst | 9 +++++++++
> >  1 file changed, 9 insertions(+)
> >
>
> This was merged into master (20553466cc47af6a8c95f665b601fce3c852e503).
> Thank you for your contribution!
>
> Regards,
> Pierrick
>
Re: [PATCH v3] docs/system: add general note about architecture and machine differences
Posted by Pierrick Bouvier 4 weeks, 1 day ago
On 6/26/2026 11:11 AM, Linisha wrote:
> Add a note near the start of the introduction explaining that QEMU
> options, properties, and command lines may differ between target
> architectures and machine types. This helps prevent confusion when
> examples shown for one architecture do not work for another, such as
> the pflash0/pflash1 options visible in -machine help on some machines
> but not others.
> 
> Suggested-by: Peter Maydell <peter.maydell@linaro.org>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
> Buglink: https://gitlab.com/qemu-project/qemu/-/issues/3254
> Signed-off-by: Linisha <linisha232@gmail.com>
> ---
> 
> v3:
> - Wrap commit message body at 76 characters (Daniel P. Berrangé)
> - Add Reviewed-by: Daniel P. Berrangé
> 
> v2: Take a different approach based on review feedback from Daniel
>     Berrangé and Peter Maydell. Instead of incorrectly claiming
>     pflash0/pflash1 are virt-only (they actually work on x86 pc/q35
>     machines too), add a general note near the start of the introduction
>     about how options, properties, and command lines may differ between
>     target architectures and machine types.
> 
>  docs/system/introduction.rst | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>