Discussion of the VIRTIO specification
 help / color / mirror / Atom feed
* [PATCH] virtio-blk: Fix data type of num_queues field
@ 2024-05-21 12:21 Parav Pandit
  2024-05-22 18:10 ` Stefan Hajnoczi
  2024-05-23 11:01 ` Stefano Garzarella
  0 siblings, 2 replies; 3+ messages in thread
From: Parav Pandit @ 2024-05-21 12:21 UTC (permalink / raw)
  To: virtio-comment, mst, cohuck; +Cc: shahafs, Parav Pandit, Max Gurtovoy

Correct the endianness of num_queues field to be little endian.

Suggested-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com>
Signed-off-by: Parav Pandit <parav@nvidia.com>
---
 device-types/blk/description.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/device-types/blk/description.tex b/device-types/blk/description.tex
index f04c932..2712ada 100644
--- a/device-types/blk/description.tex
+++ b/device-types/blk/description.tex
@@ -108,7 +108,7 @@ \subsection{Device configuration layout}\label{sec:Device Types / Block Device /
         } topology;
         u8 writeback;
         u8 unused0;
-        u16 num_queues;
+        le16 num_queues;
         le32 max_discard_sectors;
         le32 max_discard_seg;
         le32 discard_sector_alignment;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-23 11:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-21 12:21 [PATCH] virtio-blk: Fix data type of num_queues field Parav Pandit
2024-05-22 18:10 ` Stefan Hajnoczi
2024-05-23 11:01 ` Stefano Garzarella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox