Message ID | 1619080922-83527-1-git-send-email-robert.hu@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [Trivial] docs: More precisely describe memory-backend-*::id's user | expand |
Ping for review ... Thanks. On Thu, 2021-04-22 at 16:42 +0800, Robert Hoo wrote: > 'id' of memory-backend-{file,ram} is not only for '-numa''s > reference, but > also other parameters like '-device nvdimm'. > More clearly call out this to avoid misinterpretation. > > Signed-off-by: Robert Hoo <robert.hu@linux.intel.com> > --- > qemu-options.hx | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/qemu-options.hx b/qemu-options.hx > index fd21002..635dc8a 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -4508,11 +4508,11 @@ SRST > the guest RAM with huge pages. > > The ``id`` parameter is a unique ID that will be used to > - reference this memory region when configuring the ``-numa`` > - argument. > + reference this memory region in other parameters, e.g. ``- > numa``, > + ``-device nvdimm``, etc. > > The ``size`` option provides the size of the memory region, > and > - accepts common suffixes, eg ``500M``. > + accepts common suffixes, e.g. ``500M``. > > The ``mem-path`` provides the path to either a shared memory > or > huge page filesystem mount.
Robert Hoo <robert.hu@linux.intel.com> writes: > 'id' of memory-backend-{file,ram} is not only for '-numa''s reference, but > also other parameters like '-device nvdimm'. > More clearly call out this to avoid misinterpretation. > > Signed-off-by: Robert Hoo <robert.hu@linux.intel.com> > --- > qemu-options.hx | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/qemu-options.hx b/qemu-options.hx > index fd21002..635dc8a 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -4508,11 +4508,11 @@ SRST > the guest RAM with huge pages. > > The ``id`` parameter is a unique ID that will be used to > - reference this memory region when configuring the ``-numa`` > - argument. > + reference this memory region in other parameters, e.g. ``-numa``, > + ``-device nvdimm``, etc. > > The ``size`` option provides the size of the memory region, and > - accepts common suffixes, eg ``500M``. > + accepts common suffixes, e.g. ``500M``. > > The ``mem-path`` provides the path to either a shared memory or > huge page filesystem mount. Reviewed-by: Markus Armbruster <armbru@redhat.com>
Le 22/04/2021 à 10:42, Robert Hoo a écrit : > 'id' of memory-backend-{file,ram} is not only for '-numa''s reference, but > also other parameters like '-device nvdimm'. > More clearly call out this to avoid misinterpretation. > > Signed-off-by: Robert Hoo <robert.hu@linux.intel.com> > --- > qemu-options.hx | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/qemu-options.hx b/qemu-options.hx > index fd21002..635dc8a 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -4508,11 +4508,11 @@ SRST > the guest RAM with huge pages. > > The ``id`` parameter is a unique ID that will be used to > - reference this memory region when configuring the ``-numa`` > - argument. > + reference this memory region in other parameters, e.g. ``-numa``, > + ``-device nvdimm``, etc. > > The ``size`` option provides the size of the memory region, and > - accepts common suffixes, eg ``500M``. > + accepts common suffixes, e.g. ``500M``. > > The ``mem-path`` provides the path to either a shared memory or > huge page filesystem mount. > Applied to my trivial-patches branch. Thanks, Laurent
diff --git a/qemu-options.hx b/qemu-options.hx index fd21002..635dc8a 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -4508,11 +4508,11 @@ SRST the guest RAM with huge pages. The ``id`` parameter is a unique ID that will be used to - reference this memory region when configuring the ``-numa`` - argument. + reference this memory region in other parameters, e.g. ``-numa``, + ``-device nvdimm``, etc. The ``size`` option provides the size of the memory region, and - accepts common suffixes, eg ``500M``. + accepts common suffixes, e.g. ``500M``. The ``mem-path`` provides the path to either a shared memory or huge page filesystem mount.
'id' of memory-backend-{file,ram} is not only for '-numa''s reference, but also other parameters like '-device nvdimm'. More clearly call out this to avoid misinterpretation. Signed-off-by: Robert Hoo <robert.hu@linux.intel.com> --- qemu-options.hx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)