virtio-blk: Fix data type of num_queues field
PATCH 1/1 virtio-blk: Fix data type of num_queues field
Correct the endianness of num_queues field to be little endian.
Suggested-by Max Gurtovoy <[email protected]>
Reviewed-by Max Gurtovoy <[email protected]>
Signed-off-by Parav Pandit <[email protected]>
--- device-types/blk/description.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
device-types/blk/description.tex +1 -1
@@ -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;
Signature · 1 line
2.34.1
Quoted 8 lines · Parav Pandit
Correct the endianness of
num_queuesfield to be little endian.Suggested-by Max Gurtovoy <[email protected]>Reviewed-by Max Gurtovoy <[email protected]>Signed-off-by Parav Pandit <[email protected]>--- device-types/blk/description.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Stefan Hajnoczi <[email protected]>
Quoted 8 lines · Parav Pandit
Correct the endianness of
num_queuesfield to be little endian.Suggested-by Max Gurtovoy <[email protected]>Reviewed-by Max Gurtovoy <[email protected]>Signed-off-by Parav Pandit <[email protected]>---
device-types/blk/description.tex | 2 +-1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Stefano Garzarella <[email protected]>
Quoted 18 lines
device-types/blk/description.tex +1
-1@@ -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;Signature · 1 line
2.34.1