* [PATCH] qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options
@ 2023-08-29 13:29 Thomas Huth
2023-08-29 16:39 ` Alex Bennée
2023-08-29 17:29 ` Michael Tokarev
0 siblings, 2 replies; 4+ messages in thread
From: Thomas Huth @ 2023-08-29 13:29 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, qemu-block, Markus Armbruster, John Snow
The current description says that these options will create a device
on the IDE bus, which is only true on x86. So rephrase these sentences
a little bit to speak of "default bus" instead.
Signed-off-by: Thomas Huth <thuth@redhat.com>
---
qemu-options.hx | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/qemu-options.hx b/qemu-options.hx
index 29b98c3d4c..a7ce5f0f7a 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1209,10 +1209,10 @@ SRST
ERST
DEF("hda", HAS_ARG, QEMU_OPTION_hda,
- "-hda/-hdb file use 'file' as IDE hard disk 0/1 image\n", QEMU_ARCH_ALL)
+ "-hda/-hdb file use 'file' as hard disk 0/1 image\n", QEMU_ARCH_ALL)
DEF("hdb", HAS_ARG, QEMU_OPTION_hdb, "", QEMU_ARCH_ALL)
DEF("hdc", HAS_ARG, QEMU_OPTION_hdc,
- "-hdc/-hdd file use 'file' as IDE hard disk 2/3 image\n", QEMU_ARCH_ALL)
+ "-hdc/-hdd file use 'file' as hard disk 2/3 image\n", QEMU_ARCH_ALL)
DEF("hdd", HAS_ARG, QEMU_OPTION_hdd, "", QEMU_ARCH_ALL)
SRST
``-hda file``
@@ -1222,18 +1222,22 @@ SRST
``-hdc file``
\
``-hdd file``
- Use file as hard disk 0, 1, 2 or 3 image (see the :ref:`disk images`
- chapter in the System Emulation Users Guide).
+ Use file as hard disk 0, 1, 2 or 3 image on the default bus of the
+ emulated machine (this is for example the IDE bus on most x86 machines,
+ but it can also be SCSI, virtio or something else on other target
+ architectures). See al the :ref:`disk images` chapter in the System
+ Emulation Users Guide.
ERST
DEF("cdrom", HAS_ARG, QEMU_OPTION_cdrom,
- "-cdrom file use 'file' as IDE cdrom image (cdrom is ide1 master)\n",
+ "-cdrom file use 'file' as CD-ROM image\n",
QEMU_ARCH_ALL)
SRST
``-cdrom file``
- Use file as CD-ROM image (you cannot use ``-hdc`` and ``-cdrom`` at
- the same time). You can use the host CD-ROM by using ``/dev/cdrom``
- as filename.
+ Use file as CD-ROM image on the default bus of the emulated machine
+ (which is IDE1 master on x86, so you cannot use ``-hdc`` and ``-cdrom``
+ at the same time there). On systems that support it, you can use the
+ host CD-ROM by using ``/dev/cdrom`` as filename.
ERST
DEF("blockdev", HAS_ARG, QEMU_OPTION_blockdev,
--
2.39.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options
2023-08-29 13:29 [PATCH] qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options Thomas Huth
@ 2023-08-29 16:39 ` Alex Bennée
2023-08-29 16:50 ` Thomas Huth
2023-08-29 17:29 ` Michael Tokarev
1 sibling, 1 reply; 4+ messages in thread
From: Alex Bennée @ 2023-08-29 16:39 UTC (permalink / raw)
To: Thomas Huth
Cc: qemu-trivial, qemu-block, Markus Armbruster, John Snow,
qemu-devel
Thomas Huth <thuth@redhat.com> writes:
> The current description says that these options will create a device
> on the IDE bus, which is only true on x86. So rephrase these sentences
> a little bit to speak of "default bus" instead.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
> qemu-options.hx | 20 ++++++++++++--------
> 1 file changed, 12 insertions(+), 8 deletions(-)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 29b98c3d4c..a7ce5f0f7a 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -1209,10 +1209,10 @@ SRST
> ERST
>
> DEF("hda", HAS_ARG, QEMU_OPTION_hda,
> - "-hda/-hdb file use 'file' as IDE hard disk 0/1 image\n", QEMU_ARCH_ALL)
> + "-hda/-hdb file use 'file' as hard disk 0/1 image\n", QEMU_ARCH_ALL)
> DEF("hdb", HAS_ARG, QEMU_OPTION_hdb, "", QEMU_ARCH_ALL)
> DEF("hdc", HAS_ARG, QEMU_OPTION_hdc,
> - "-hdc/-hdd file use 'file' as IDE hard disk 2/3 image\n", QEMU_ARCH_ALL)
> + "-hdc/-hdd file use 'file' as hard disk 2/3 image\n", QEMU_ARCH_ALL)
> DEF("hdd", HAS_ARG, QEMU_OPTION_hdd, "", QEMU_ARCH_ALL)
> SRST
> ``-hda file``
> @@ -1222,18 +1222,22 @@ SRST
> ``-hdc file``
> \
> ``-hdd file``
> - Use file as hard disk 0, 1, 2 or 3 image (see the :ref:`disk images`
> - chapter in the System Emulation Users Guide).
> + Use file as hard disk 0, 1, 2 or 3 image on the default bus of the
> + emulated machine (this is for example the IDE bus on most x86 machines,
> + but it can also be SCSI, virtio or something else on other target
> + architectures). See al the :ref:`disk images` chapter in the
> System
See also?
> + Emulation Users Guide.
> ERST
>
> DEF("cdrom", HAS_ARG, QEMU_OPTION_cdrom,
> - "-cdrom file use 'file' as IDE cdrom image (cdrom is ide1 master)\n",
> + "-cdrom file use 'file' as CD-ROM image\n",
> QEMU_ARCH_ALL)
> SRST
> ``-cdrom file``
> - Use file as CD-ROM image (you cannot use ``-hdc`` and ``-cdrom`` at
> - the same time). You can use the host CD-ROM by using ``/dev/cdrom``
> - as filename.
> + Use file as CD-ROM image on the default bus of the emulated machine
> + (which is IDE1 master on x86, so you cannot use ``-hdc`` and ``-cdrom``
> + at the same time there). On systems that support it, you can use the
> + host CD-ROM by using ``/dev/cdrom`` as filename.
> ERST
>
> DEF("blockdev", HAS_ARG, QEMU_OPTION_blockdev,
Otherwise:
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options
2023-08-29 16:39 ` Alex Bennée
@ 2023-08-29 16:50 ` Thomas Huth
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Huth @ 2023-08-29 16:50 UTC (permalink / raw)
To: Alex Bennée
Cc: qemu-trivial, qemu-block, Markus Armbruster, John Snow,
qemu-devel
On 29/08/2023 18.39, Alex Bennée wrote:
>
> Thomas Huth <thuth@redhat.com> writes:
>
>> The current description says that these options will create a device
>> on the IDE bus, which is only true on x86. So rephrase these sentences
>> a little bit to speak of "default bus" instead.
>>
>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>> ---
>> qemu-options.hx | 20 ++++++++++++--------
>> 1 file changed, 12 insertions(+), 8 deletions(-)
>>
>> diff --git a/qemu-options.hx b/qemu-options.hx
>> index 29b98c3d4c..a7ce5f0f7a 100644
>> --- a/qemu-options.hx
>> +++ b/qemu-options.hx
>> @@ -1209,10 +1209,10 @@ SRST
>> ERST
>>
>> DEF("hda", HAS_ARG, QEMU_OPTION_hda,
>> - "-hda/-hdb file use 'file' as IDE hard disk 0/1 image\n", QEMU_ARCH_ALL)
>> + "-hda/-hdb file use 'file' as hard disk 0/1 image\n", QEMU_ARCH_ALL)
>> DEF("hdb", HAS_ARG, QEMU_OPTION_hdb, "", QEMU_ARCH_ALL)
>> DEF("hdc", HAS_ARG, QEMU_OPTION_hdc,
>> - "-hdc/-hdd file use 'file' as IDE hard disk 2/3 image\n", QEMU_ARCH_ALL)
>> + "-hdc/-hdd file use 'file' as hard disk 2/3 image\n", QEMU_ARCH_ALL)
>> DEF("hdd", HAS_ARG, QEMU_OPTION_hdd, "", QEMU_ARCH_ALL)
>> SRST
>> ``-hda file``
>> @@ -1222,18 +1222,22 @@ SRST
>> ``-hdc file``
>> \
>> ``-hdd file``
>> - Use file as hard disk 0, 1, 2 or 3 image (see the :ref:`disk images`
>> - chapter in the System Emulation Users Guide).
>> + Use file as hard disk 0, 1, 2 or 3 image on the default bus of the
>> + emulated machine (this is for example the IDE bus on most x86 machines,
>> + but it can also be SCSI, virtio or something else on other target
>> + architectures). See al the :ref:`disk images` chapter in the
>> System
>
> See also?
Drat, yes, that was a typo.
>> + Emulation Users Guide.
>> ERST
>>
>> DEF("cdrom", HAS_ARG, QEMU_OPTION_cdrom,
>> - "-cdrom file use 'file' as IDE cdrom image (cdrom is ide1 master)\n",
>> + "-cdrom file use 'file' as CD-ROM image\n",
>> QEMU_ARCH_ALL)
>> SRST
>> ``-cdrom file``
>> - Use file as CD-ROM image (you cannot use ``-hdc`` and ``-cdrom`` at
>> - the same time). You can use the host CD-ROM by using ``/dev/cdrom``
>> - as filename.
>> + Use file as CD-ROM image on the default bus of the emulated machine
>> + (which is IDE1 master on x86, so you cannot use ``-hdc`` and ``-cdrom``
>> + at the same time there). On systems that support it, you can use the
>> + host CD-ROM by using ``/dev/cdrom`` as filename.
>> ERST
>>
>> DEF("blockdev", HAS_ARG, QEMU_OPTION_blockdev,
>
> Otherwise:
>
> Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Thanks!
Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH] qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options
2023-08-29 13:29 [PATCH] qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options Thomas Huth
2023-08-29 16:39 ` Alex Bennée
@ 2023-08-29 17:29 ` Michael Tokarev
1 sibling, 0 replies; 4+ messages in thread
From: Michael Tokarev @ 2023-08-29 17:29 UTC (permalink / raw)
To: Thomas Huth, qemu-devel
Cc: qemu-trivial, qemu-block, Markus Armbruster, John Snow
29.08.2023 16:29, Thomas Huth wrote:
> The current description says that these options will create a device
> on the IDE bus, which is only true on x86. So rephrase these sentences
> a little bit to speak of "default bus" instead.
applied to my trivial tree, with the "See also" fix.
/mjt
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-08-29 17:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-29 13:29 [PATCH] qemu-options.hx: Rephrase the descriptions of the -hd* and -cdrom options Thomas Huth
2023-08-29 16:39 ` Alex Bennée
2023-08-29 16:50 ` Thomas Huth
2023-08-29 17:29 ` Michael Tokarev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).