device-parts: editorial: Fix metadata type name
PATCH 1/1 device-parts: editorial: Fix metadata type name
The description is for the type VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST; however, it referred to a non-existent definition. Correct it.
Branch: virtio-1.4
--- admin-cmds-device-parts.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
admin-cmds-device-parts.tex +2 -2
@@ -152,10 +152,10 @@ \subsubsection{Device parts}\label{sec:Basic Facilities of a Virtio Device / Dev device responds with \field{hdr_list_count.count}. The \field{hdr_list_count.count} indicates an count of \field{struct virtio_dev_part_hdr} metadata entries that the device can -provide when the \field{type} is set to VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR +provide when the \field{type} is set to VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST in a subsequent VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_GET command. -When \field{type} is set to VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR, +When \field{type} is set to VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST, the device responds with \field{hdr_list}. \field{hdr_list} indicates the device parts metadata.
Signature · 1 line
2.34.1
Quoted 31 lines · Parav Pandit
The description is for the type
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST; however, it referred to a non-existent definition. Correct it.Branch: virtio-1.4
Fixes aa4f6f069ab3 ("admin: Add admin commands for device parts")Signed-off-by Parav Pandit <[email protected]>--- admin-cmds-device-parts.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)admin-cmds-device-parts.tex +2
-2@@ -152,10 +152,10 @@ \subsubsection{Device parts}\label{sec:Basic Facilities of a Virtio Device / Dev device responds with \field{hdr_list_count.count}. The \field{hdr_list_count.count} indicates an count of \field{struct virtio_dev_part_hdr} metadata entries that the device can -provide when the \field{type} is set to VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR +provide when the \field{type} is set to VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST in a subsequent VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_GET command. -When \field{type} is set to VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR, +When \field{type} is set to VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST, the device responds with \field{hdr_list}. \field{hdr_list} indicates the device parts metadata.Signature · 1 line
2.34.1
In previous patches, I see the pattern \field{type} field. I wonder if you would like to do the same here for consistency but I do not have a strong opinion about this. Otherwise,
Thanks, Matias.
Quoted 39 lines
From: Matias Ezequiel Vara Larsen <[email protected]>
Sent: Monday, September 9, 2024 7:48 PMQuoted 21 lines · Parav Pandit
The description is for the type
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST; however, it referred to a non-existent definition. Correct it.Branch: virtio-1.4
Fixes aa4f6f069ab3 ("admin: Add admin commands for device parts")Signed-off-by Parav Pandit <[email protected]>--- admin-cmds-device-parts.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)admin-cmds-device-parts.tex +0
-0@@ -152,10 +152,10 @@ \subsubsection{Device parts}\label{sec:BasicFacilities of a Virtio Device / Dev device responds with \field{hdr_list_count.count}. The \field{hdr_list_count.count} indicates an count of \field{struct
virtio_dev_part_hdr} metadata entries that the device can -provide when the \field{type} is set toVIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDRadmin-cmds-device-parts.tex
Quoted 3 lines
admin-cmds-device-parts.tex +2
-0+provide when the \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST in a subsequent VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_GETcommand.
Quoted 8 lines
-When \field{type} is set to
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR,admin-cmds-device-parts.tex +2
-0+When \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST, the device responds with \field{hdr_list}. \field{hdr_list}indicates the device parts metadata.
Quoted 8 lines
Quoted 4 lines
--
2.34.1In previous patches, I see the pattern
\field{type} field. I wonder if you would like to do the same here for consistency but I do not have a strong opinion about this. Otherwise,
True, maybe I can remove 'field' word from some places in general language improvement separate patch. Will look.
Quoted 3 lines
Reviewed-by Matias Ezequiel Vara Larsen <[email protected]>Thanks, Matias.
Thanks.
Quoted 47 lines · Parav Pandit
Quoted 39 lines
From: Matias Ezequiel Vara Larsen <[email protected]>
Sent: Monday, September 9, 2024 7:48 PMQuoted 21 lines · Parav Pandit
The description is for the type
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST; however, it referred to a non-existent definition. Correct it.Branch: virtio-1.4
Fixes aa4f6f069ab3 ("admin: Add admin commands for device parts")Signed-off-by Parav Pandit <[email protected]>--- admin-cmds-device-parts.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)admin-cmds-device-parts.tex +0
-0@@ -152,10 +152,10 @@ \subsubsection{Device parts}\label{sec:BasicFacilities of a Virtio Device / Dev device responds with \field{hdr_list_count.count}. The \field{hdr_list_count.count} indicates an count of \field{struct
virtio_dev_part_hdr} metadata entries that the device can -provide when the \field{type} is set toVIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDRadmin-cmds-device-parts.tex
Quoted 3 lines
admin-cmds-device-parts.tex +2
-0+provide when the \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST in a subsequent VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_GETcommand.
Quoted 8 lines
-When \field{type} is set to
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR,admin-cmds-device-parts.tex +2
-0+When \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST, the device responds with \field{hdr_list}. \field{hdr_list}indicates the device parts metadata.
Quoted 8 lines
Quoted 4 lines
--
2.34.1In previous patches, I see the pattern
\field{type} field. I wonder if you would like to do the same here for consistency but I do not have a strong opinion about this. Otherwise,
Quoted 2 lines
True, maybe I can remove 'field' word from some places in general language improvement separate patch. Will look.
It just typesets it as italic ATM. Worth doing to avoid confusion, as some fields are plain english words.
Quoted 5 lines
Quoted 3 lines
Reviewed-by Matias Ezequiel Vara Larsen <[email protected]>Thanks, Matias.
Thanks.
Quoted 53 lines
From: Michael S. Tsirkin <[email protected]>
Sent: Tuesday, September 10, 2024 10:18 PMQuoted 47 lines · Parav Pandit
Quoted 47 lines
From: Matias Ezequiel Vara Larsen <[email protected]>
Sent: Monday, September 9, 2024 7:48 PMQuoted 21 lines · Parav Pandit
The description is for the type
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST; however, it referred to a non-existent definition. Correct it.Branch: virtio-1.4
Fixes aa4f6f069ab3 ("admin: Add admin commands for device parts")Signed-off-by Parav Pandit <[email protected]>--- admin-cmds-device-parts.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0b/admin-cmds-device-parts.tex index 27d8251..3a16692 100644
admin-cmds-device-parts.tex +0
-0@@ -152,10 +152,10 @@ \subsubsection{Device parts}\label{sec:BasicFacilities of a Virtio Device / Dev device responds with \field{hdr_list_count.count}. The \field{hdr_list_count.count} indicates an count of \field{struct
virtio_dev_part_hdr} metadata entries that the device can -provide when the \field{type} is set toVIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDRadmin-cmds-device-parts.tex
Quoted 3 lines
admin-cmds-device-parts.tex +2
-0+provide when the \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST in a subsequent VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_GETcommand.
Quoted 8 lines
-When \field{type} is set to
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR,admin-cmds-device-parts.tex +2
-0+When \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST, the device responds with \field{hdr_list}. \field{hdr_list}indicates the device parts metadata.
Quoted 4 lines
--
2.34.1In previous patches, I see the pattern
\field{type} field. I wonder if you would like to do the same here for consistency but I do not have a strong opinion about this. Otherwise,
Quoted 8 lines
Quoted 1 line
True, maybe I can remove 'field' word from some places in general
language improvement separate patch.
Quoted 1 line
Will look.
It just typesets it as italic ATM. Worth doing to avoid confusion, as some fields are plain english words.
Do you mean to add word 'field' wherever missing as Matias suggested?
If so, no strong opinion to me, I will run a separate patch for such improvements without fixes tag.
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Reviewed-by Matias Ezequiel Vara Larsen <[email protected]>Thanks, Matias.
Thanks.
Quoted 54 lines · Parav Pandit
Quoted 54 lines
From: Michael S. Tsirkin <[email protected]>
Sent: Tuesday, September 10, 2024 10:18 PMQuoted 48 lines · Parav Pandit
Quoted 39 lines
From: Matias Ezequiel Vara Larsen <[email protected]>
Sent: Monday, September 9, 2024 7:48 PMQuoted 21 lines · Parav Pandit
The description is for the type
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST; however, it referred to a non-existent definition. Correct it.Branch: virtio-1.4
Fixes aa4f6f069ab3 ("admin: Add admin commands for device parts")Signed-off-by Parav Pandit <[email protected]>--- admin-cmds-device-parts.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0b/admin-cmds-device-parts.tex index 27d8251..3a16692 100644
admin-cmds-device-parts.tex +0
-0@@ -152,10 +152,10 @@ \subsubsection{Device parts}\label{sec:BasicFacilities of a Virtio Device / Dev device responds with \field{hdr_list_count.count}. The \field{hdr_list_count.count} indicates an count of \field{struct
virtio_dev_part_hdr} metadata entries that the device can -provide when the \field{type} is set toVIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDRadmin-cmds-device-parts.tex
Quoted 3 lines
admin-cmds-device-parts.tex +2
-0+provide when the \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST in a subsequent VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_GETcommand.
Quoted 8 lines
-When \field{type} is set to
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR,admin-cmds-device-parts.tex +2
-0+When \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST, the device responds with \field{hdr_list}. \field{hdr_list}indicates the device parts metadata.
Quoted 8 lines
Quoted 4 lines
--
2.34.1In previous patches, I see the pattern
\field{type} field. I wonder if you would like to do the same here for consistency but I do not have a strong opinion about this. Otherwise,True, maybe I can remove 'field' word from some places in general
Quoted 8 lines
Quoted 7 lines
language improvement separate patch.
Quoted 1 line
Will look.
It just typesets it as italic ATM. Worth doing to avoid confusion, as some fields are plain english words.
Do you mean to add word 'field' wherever missing as Matias suggested?
If it's a field in a struct, it should be in italics, yes. I didn't get which field Matias refers to, exactly.
Quoted 8 lines
If so, no strong opinion to me, I will run a separate patch for such improvements without fixes tag.
Quoted 6 lines
Quoted 6 lines
Quoted 4 lines
Reviewed-by Matias Ezequiel Vara Larsen <[email protected]>Thanks, Matias.
Thanks.
Quoted 66 lines
From: Michael S. Tsirkin <[email protected]>
Sent: Wednesday, September 11, 2024 12:05 AMQuoted 60 lines · Parav Pandit
Quoted 60 lines
From: Michael S. Tsirkin <[email protected]>
Sent: Tuesday, September 10, 2024 10:18 PMQuoted 49 lines · Parav Pandit
Quoted 41 lines
From: Matias Ezequiel Vara Larsen <[email protected]>
Sent: Monday, September 9, 2024 7:48 PMQuoted 23 lines · Parav Pandit
The description is for the type
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST; however, it referred to a non-existent definition. Correct it.Branch: virtio-1.4
Fixes aa4f6f069ab3 ("admin: Add admin commands for deviceparts")
Signed-off-by Parav Pandit <[email protected]>--- admin-cmds-device-parts.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0b/admin-cmds-device-parts.tex index 27d8251..3a16692 100644
admin-cmds-device-parts.tex +0
-0@@ -152,10 +152,10 @@ \subsubsection{Deviceparts}\label{sec:Basic Facilities of a Virtio Device / Dev device responds with \field{hdr_list_count.count}. The \field{hdr_list_count.count} indicates an count of \field{struct
virtio_dev_part_hdr} metadata entries that the device can -provide when the \field{type} is set toVIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDRadmin-cmds-device-parts.tex
Quoted 3 lines
admin-cmds-device-parts.tex +2
-0+provide when the \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST in a subsequent VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_GETcommand.
Quoted 8 lines
-When \field{type} is set to
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR,admin-cmds-device-parts.tex +2
-0+When \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST, the device responds with \field{hdr_list}. \field{hdr_list}indicates the device parts metadata.
Quoted 8 lines
Quoted 4 lines
--
2.34.1In previous patches, I see the pattern
\field{type} field. I wonder if you would like to do the same here for consistency but I do not have a strong opinion about this. Otherwise,Quoted 1 line
True, maybe I can remove 'field' word from some places in general
language improvement separate patch.
Quoted 1 line
Will look.
Quoted 7 lines
Quoted 4 lines
Quoted 3 lines
It just typesets it as italic ATM. Worth doing to avoid confusion, as some fields are plain english words.
Do you mean to add word 'field' wherever missing as Matias suggested?
If it's a field in a struct, it should be in italics, yes.
It is already in italics.
The question was : should be written as,
Option_A: \field{type} field indicates so-n-so...
orOption_B: \field{type} indicates so-n-soo..
Quoted 12 lines
I didn't get which field
Matias refers to, exactly.Quoted 1 line
If so, no strong opinion to me, I will run a separate patch for such
improvements without fixes tag.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Reviewed-by Matias Ezequiel Vara Larsen <[email protected]>Thanks, Matias.
Thanks.
Quoted 72 lines · Parav Pandit
Quoted 72 lines
From: Michael S. Tsirkin <[email protected]>
Sent: Wednesday, September 11, 2024 12:05 AMQuoted 64 lines · Parav Pandit
Quoted 55 lines
From: Michael S. Tsirkin <[email protected]>
Sent: Tuesday, September 10, 2024 10:18 PMQuoted 49 lines · Parav Pandit
Quoted 49 lines
From: Matias Ezequiel Vara Larsen <[email protected]>
Sent: Monday, September 9, 2024 7:48 PMQuoted 23 lines · Parav Pandit
The description is for the type
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST; however, it referred to a non-existent definition. Correct it.Branch: virtio-1.4
Fixes aa4f6f069ab3 ("admin: Add admin commands for deviceparts")
Signed-off-by Parav Pandit <[email protected]>--- admin-cmds-device-parts.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0b/admin-cmds-device-parts.tex index 27d8251..3a16692 100644
admin-cmds-device-parts.tex +0
-0@@ -152,10 +152,10 @@ \subsubsection{Deviceparts}\label{sec:Basic Facilities of a Virtio Device / Dev device responds with \field{hdr_list_count.count}. The \field{hdr_list_count.count} indicates an count of \field{struct
virtio_dev_part_hdr} metadata entries that the device can -provide when the \field{type} is set toVIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDRadmin-cmds-device-parts.tex
Quoted 3 lines
admin-cmds-device-parts.tex +2
-0+provide when the \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST in a subsequent VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_GETcommand.
Quoted 8 lines
-When \field{type} is set to
VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_HDR,admin-cmds-device-parts.tex +2
-0+When \field{type} is set to +VIRTIO_ADMIN_CMD_DEV_PARTS_METADATA_TYPE_LIST, the device responds with \field{hdr_list}. \field{hdr_list}indicates the device parts metadata.
Quoted 4 lines
--
2.34.1In previous patches, I see the pattern
\field{type} field. I wonder if you would like to do the same here for consistency but I do not have a strong opinion about this. Otherwise,Quoted 8 lines
Quoted 1 line
True, maybe I can remove 'field' word from some places in general
language improvement separate patch.
Quoted 1 line
Will look.
It just typesets it as italic ATM. Worth doing to avoid confusion, as some fields are plain english words.
Do you mean to add word 'field' wherever missing as Matias suggested?
Quoted 8 lines
Quoted 1 line
If it's a field in a struct, it should be in italics, yes.
It is already in italics.
The question was : should be written as,
Option_A: \field{type} field indicates so-n-so...
orOption_B: \field{type} indicates so-n-soo..
Ah.
I don't really feel adding "field" adds much, because of italics and because one can see it's a field from the name. So, brevity wins.
Quoted 12 lines
Quoted 12 lines
I didn't get which field
Matias refers to, exactly.Quoted 1 line
If so, no strong opinion to me, I will run a separate patch for such
improvements without fixes tag.
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines
Reviewed-by Matias Ezequiel Vara Larsen <[email protected]>Thanks, Matias.
Thanks.
Quoted 4 lines
From: Michael S. Tsirkin <[email protected]>
Sent: Wednesday, September 11, 2024 1:51 AM
[..]
Quoted 8 lines
Quoted 7 lines
It is already in italics.
The question was : should be written as,
Option_A: \field{type} field indicates so-n-so...
orOption_B: \field{type} indicates so-n-soo..
Quoted 5 lines
Ah.
I don't really feel adding "field" adds much, because of italics and because one can see it's a field from the name.
So, brevity wins.
Ok. Got it.
The current patch is discussion does not have word 'field'. So current patch is good as-is.
Thanks.
Quoted 16 lines · Parav Pandit
Quoted 4 lines
From: Michael S. Tsirkin <[email protected]>
Sent: Wednesday, September 11, 2024 1:51 AM[..]
Quoted 10 lines
Quoted 7 lines
It is already in italics.
The question was : should be written as,
Option_A: \field{type} field indicates so-n-so...
orOption_B: \field{type} indicates so-n-soo..Ah.
Quoted 8 lines
Quoted 3 lines
I don't really feel adding "field" adds much, because of italics and because one can see it's a field from the name.
So, brevity wins.Ok. Got it.
The current patch is discussion does not have word 'field'. So current patch is good as-is.
Thanks.
Agreed.