mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
virtio-blk: make queue size configurable
Depending on the configuration, it can be beneficial to adjust the virtio-blk queue size to something other than the current default of 128. Add a new property to make the queue size configurable. Signed-off-by: Mark Kanda <mark.kanda@oracle.com> Reviewed-by: Karl Heubaum <karl.heubaum@oracle.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Reviewed-by: Ameya More <ameya.more@oracle.com> Message-id: 52e6d742811f10dbd16e996e86cf375b9577c187.1513005190.git.mark.kanda@oracle.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
6dd64919ea
commit
6040aedddb
@@ -39,6 +39,7 @@ struct VirtIOBlkConf
|
||||
uint32_t config_wce;
|
||||
uint32_t request_merging;
|
||||
uint16_t num_queues;
|
||||
uint16_t queue_size;
|
||||
};
|
||||
|
||||
struct VirtIOBlockDataPlane;
|
||||
|
||||
Reference in New Issue
Block a user