Re: [PATCH v5 0/2] virtio: make seg_max virtqueue size dependent

2019-12-22 Thread Michael S. Tsirkin
On Fri, Dec 20, 2019 at 05:09:03PM +0300, Denis Plotnikov wrote:
> v5:
>   * rebased on the recent master [MST]
>   * NOTE: the test doesn't pass because 5.0 machine type use 4.2 compat
>   instead of it's own or no compat at all. The test will pass
>   once the new 5.0 compat is used. 


So please fix that up first (in a separate patch).

> v4:
>   * rebased on 4.2 [MST]
> 
> v3:
>   * add property to set in machine type [MST]
>   * add min queue size check [Stefan]
>   * add avocado based test [Max, Stefan, Eduardo, Cleber]
> 
> v2:
>   * the standalone patch to make seg_max virtqueue size dependent
>   * other patches are postponed
> 
> v1:
>   the initial series
> 
> Denis Plotnikov (2):
>   virtio: make seg_max virtqueue size dependent
>   tests: add virtio-scsi and virtio-blk seg_max_adjust test
> 
>  hw/block/virtio-blk.c |   9 +-
>  hw/core/machine.c |   3 +
>  hw/scsi/vhost-scsi.c  |   2 +
>  hw/scsi/virtio-scsi.c |  10 +-
>  include/hw/virtio/virtio-blk.h|   1 +
>  include/hw/virtio/virtio-scsi.h   |   1 +
>  tests/acceptance/virtio_seg_max_adjust.py | 134 ++
>  7 files changed, 158 insertions(+), 2 deletions(-)
>  create mode 100755 tests/acceptance/virtio_seg_max_adjust.py
> 
> -- 
> 2.17.0




Re: [PATCH v5 0/2] virtio: make seg_max virtqueue size dependent

2019-12-20 Thread Denis Plotnikov
PLEASE, IGNORE THIS PATCH SET

On 20.12.2019 17:04, Denis Plotnikov wrote:
> v5:
>* rebased on the recent master [MST]
>* NOTE: the test doesn't pass because 5.0 machine type use 4.2 compat
>instead of it's own or no compat at all. The test will pass
>once the new 5.0 compat is used.
>
> v4:
>* rebased on 4.2 [MST]
>
> v3:
>* add property to set in machine type [MST]
>* add min queue size check [Stefan]
>* add avocado based test [Max, Stefan, Eduardo, Cleber]
>
> v2:
>* the standalone patch to make seg_max virtqueue size dependent
>* other patches are postponed
>
> v1:
>the initial series
>
> Denis Plotnikov (2):
>virtio: make seg_max virtqueue size dependent
>tests: add virtio-scsi and virtio-blk seg_max_adjust test
>
>   hw/block/virtio-blk.c |   9 +-
>   hw/core/machine.c |   3 +
>   hw/scsi/vhost-scsi.c  |   2 +
>   hw/scsi/virtio-scsi.c |  10 +-
>   include/hw/virtio/virtio-blk.h|   1 +
>   include/hw/virtio/virtio-scsi.h   |   1 +
>   tests/acceptance/virtio_seg_max_adjust.py | 134 ++
>   7 files changed, 158 insertions(+), 2 deletions(-)
>   create mode 100755 tests/acceptance/virtio_seg_max_adjust.py
>



[PATCH v5 0/2] virtio: make seg_max virtqueue size dependent

2019-12-20 Thread Denis Plotnikov
v5:
  * rebased on the recent master [MST]
  * NOTE: the test doesn't pass because 5.0 machine type use 4.2 compat
  instead of it's own or no compat at all. The test will pass
  once the new 5.0 compat is used. 

v4:
  * rebased on 4.2 [MST]

v3:
  * add property to set in machine type [MST]
  * add min queue size check [Stefan]
  * add avocado based test [Max, Stefan, Eduardo, Cleber]

v2:
  * the standalone patch to make seg_max virtqueue size dependent
  * other patches are postponed

v1:
  the initial series

Denis Plotnikov (2):
  virtio: make seg_max virtqueue size dependent
  tests: add virtio-scsi and virtio-blk seg_max_adjust test

 hw/block/virtio-blk.c |   9 +-
 hw/core/machine.c |   3 +
 hw/scsi/vhost-scsi.c  |   2 +
 hw/scsi/virtio-scsi.c |  10 +-
 include/hw/virtio/virtio-blk.h|   1 +
 include/hw/virtio/virtio-scsi.h   |   1 +
 tests/acceptance/virtio_seg_max_adjust.py | 134 ++
 7 files changed, 158 insertions(+), 2 deletions(-)
 create mode 100755 tests/acceptance/virtio_seg_max_adjust.py

-- 
2.17.0




[PATCH v5 0/2] virtio: make seg_max virtqueue size dependent

2019-12-20 Thread Denis Plotnikov
v5:
  * rebased on the recent master [MST]
  * NOTE: the test doesn't pass because 5.0 machine type use 4.2 compat
  instead of it's own or no compat at all. The test will pass
  once the new 5.0 compat is used. 

v4:
  * rebased on 4.2 [MST]

v3:
  * add property to set in machine type [MST]
  * add min queue size check [Stefan]
  * add avocado based test [Max, Stefan, Eduardo, Cleber]

v2:
  * the standalone patch to make seg_max virtqueue size dependent
  * other patches are postponed

v1:
  the initial series

Denis Plotnikov (2):
  virtio: make seg_max virtqueue size dependent
  tests: add virtio-scsi and virtio-blk seg_max_adjust test

 hw/block/virtio-blk.c |   9 +-
 hw/core/machine.c |   3 +
 hw/scsi/vhost-scsi.c  |   2 +
 hw/scsi/virtio-scsi.c |  10 +-
 include/hw/virtio/virtio-blk.h|   1 +
 include/hw/virtio/virtio-scsi.h   |   1 +
 tests/acceptance/virtio_seg_max_adjust.py | 134 ++
 7 files changed, 158 insertions(+), 2 deletions(-)
 create mode 100755 tests/acceptance/virtio_seg_max_adjust.py

-- 
2.17.0