From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Richard Henderson <rth@twiddle.net>,
QEMU Developers <qemu-devel@nongnu.org>,
Eduardo Habkost <ehabkost@redhat.com>,
Kashyap Chamarthy <kchamart@redhat.com>
Subject: Re: [PATCH v3 1/2] docs: Convert qemu-cpu-models.texi to rST
Date: Fri, 21 Feb 2020 15:31:15 +0000 [thread overview]
Message-ID: <20200221153115.GG628613@redhat.com> (raw)
In-Reply-To: <CAFEAcA9_tDWLxBrsw42uxs7E_QmA5XzsMs6zwmzpckv=B0ksuw@mail.gmail.com>
On Fri, Feb 21, 2020 at 03:16:29PM +0000, Peter Maydell wrote:
> On Thu, 20 Feb 2020 at 14:20, Kashyap Chamarthy <kchamart@redhat.com> wrote:
> >
> > This doc was originally written by Daniel P. Berrangé
> > <berrange@redhat.com>, introduced via commit[1]: 2544e9e4aa (docs: add
> > guidance on configuring CPU models for x86, 2018-06-27).
> >
> > In this patch:
> >
> > - 1-1 conversion of Texinfo to rST, besides a couple of minor
> > tweaks that are too trivial to mention. (Thanks to Stephen
> > Finucane on IRC for the suggestion to use rST "definition lists"
> > instead of bullets in some places.)
> >
> > Further modifications will be done via a separate patch.
> >
> > - rST and related infra changes: for building the manual page,
> > Makefile fixes, clean up references to qemu-cpu-models.texi, etc.
> >
> > [1] https://git.qemu.org/?p=qemu.git;a=commit;h=2544e9e4aa
> >
> > Signed-off-by: Kashyap Chamarthy <kchamart@redhat.com>
> > ---
> > v2: Fix rST conversion, man page creation, Makefile changes, et al
> > (thanks, Peter Maydell)
> > ---
> > MAINTAINERS | 2 +-
> > Makefile | 10 +-
> > docs/qemu-cpu-models.texi | 677 --------------------------------
> > docs/system/conf.py | 3 +
> > docs/system/index.rst | 1 +
> > docs/system/qemu-cpu-models.rst | 514 ++++++++++++++++++++++++
> > qemu-doc.texi | 5 -
> > 7 files changed, 524 insertions(+), 688 deletions(-)
> > delete mode 100644 docs/qemu-cpu-models.texi
> > create mode 100644 docs/system/qemu-cpu-models.rst
>
> > @@ -1056,6 +1055,8 @@ $(call define-manpage-rule,interop,\
> >
> > $(call define-manpage-rule,system,qemu-block-drivers.7)
> >
> > +$(call define-manpage-rule,system,qemu-cpu-models.7)
>
> The new manpage should be added to the existing define-manpage-rule
> invocation for the system manual: the last argument is a space
> separated list of all the manpages in the manual, like this:
>
> $(call define-manpage-rule,system,qemu-block-drivers.7 qemu-cpu-models.7)
>
> > +
> > $(MANUAL_BUILDDIR)/index.html: $(SRC_PATH)/docs/index.html.in qemu-version.h
> > @mkdir -p "$(MANUAL_BUILDDIR)"
> > $(call quiet-command, sed "s|@@VERSION@@|${VERSION}|g" $< >$@, \
>
>
>
> > -@c man begin AUTHOR
> > -Daniel P. Berrange
> > -@c man end
>
> > diff --git a/docs/system/conf.py b/docs/system/conf.py
> > index 7ca115f5e0..7cc9da9508 100644
> > --- a/docs/system/conf.py
> > +++ b/docs/system/conf.py
> > @@ -18,5 +18,8 @@ html_theme_options['description'] = u'System Emulation User''s Guide'
> > man_pages = [
> > ('qemu-block-drivers', 'qemu-block-drivers',
> > u'QEMU block drivers reference',
> > + ['Fabrice Bellard and the QEMU Project developers'], 7),
> > + ('qemu-cpu-models', 'qemu-cpu-models',
> > + u'QEMU CPU Models',
> > ['Fabrice Bellard and the QEMU Project developers'], 7)
> > ]
>
> The old manpage/documentation credits Dan as the author,
> so that's what we should specify in the conf.py line,
> rather than 'Fabrice and the project devs' (which we
> use for qemu-block-drivers.7 because that's what the
> old texi version of that file specified as the authors).
I agree that listing Fabrice explicitly here is wrong
since he didn't write any of it.
As the author, I don't feel a need for my name to be
explicitly credited here. QEMU is a collaborative project
and other people add text to this over time. Indeed IME
explicitly listing an individual encourages users to
directly email the individual person with questions,
instead of using the mailing list / irc / forums.
Thus I would personally prefer if we just used
"The QEMU Project maintainers"
as the author credit
> > +Preferred CPU models for Intel x86 hosts
> > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > +
> > +The following CPU models are preferred for use on Intel hosts.
> > +Administrators / applications are recommended to use the CPU model that
> > +matches the generation of the host CPUs in use. In a deployment with a
> > +mixture of host CPU models between machines, if live migration
> > +compatibility is required, use the newest CPU model that is compatible
> > +across all desired hosts.
> > +
> > +* Intel Xeon Processor (Skylake, 2016)
> > +
> > + * ``Skylake-Server``
> > + * ``Skylake-Server-IBRS``
>
> This reverses the old ordering of these lists, which consistently
> had the QEMU CPU model names as the 'term' and the explanations
> as the 'definition' of a definition-list. Now we have the
> 'explanation' first and the 'terms' second...
Yep, the model name used for the "-cpu NAME" arg is the most
important piece of information IMHO. The human description is
just a side note.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2020-02-21 15:33 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-20 14:19 [PATCH v3 0/2] qemu-cpu-models: Convert to rST; document other MSR bits Kashyap Chamarthy
2020-02-20 14:20 ` [PATCH v3 1/2] docs: Convert qemu-cpu-models.texi to rST Kashyap Chamarthy
2020-02-21 15:16 ` Peter Maydell
2020-02-21 15:31 ` Daniel P. Berrangé [this message]
2020-02-21 15:36 ` Peter Maydell
2020-02-25 9:16 ` Kashyap Chamarthy
2020-02-25 14:22 ` Kashyap Chamarthy
2020-02-20 14:20 ` [PATCH v3 2/2] qemu-cpu-models.rst: Document -noTSX, mds-no, taa-no, and tsx-ctrl Kashyap Chamarthy
2020-02-20 14:52 ` Paolo Bonzini
2020-02-20 15:45 ` Peter Maydell
-- strict thread matches above, loose matches on Subject: below --
2020-02-20 14:02 [PATCH v3 0/2] qemu-cpu-models: Convert to rST; document other MSR bits Kashyap Chamarthy
2020-02-20 14:02 ` [PATCH v3 1/2] docs: Convert qemu-cpu-models.texi to rST Kashyap Chamarthy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200221153115.GG628613@redhat.com \
--to=berrange@redhat.com \
--cc=ehabkost@redhat.com \
--cc=kchamart@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.