On Wed, Dec 06, 2017 at 01:54:00PM -0600, Mark Kanda wrote: > 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.ka...@oracle.com> > Reviewed-by: Karl Heubaum <karl.heub...@oracle.com> > Reviewed-by: Martin K. Petersen <martin.peter...@oracle.com> > Reviewed-by: Ameya More <ameya.m...@oracle.com> > --- > hw/block/virtio-blk.c | 7 ++++++- > include/hw/virtio/virtio-blk.h | 1 + > 2 files changed, 7 insertions(+), 1 deletion(-)
Please see commit 9b02e1618cf26aa52cf786f215d757506dda14f8 ("virtio-net: enable configurable tx queue size") for additional considerations. QEMU's virtio implementation hardcodes the maximum queue size at 1024 and this limit must be checked.
signature.asc
Description: PGP signature