On 2/28/2020 3:32 PM, Jin Yu wrote:
> Decrease the code and make it easier to read. It's
> useful for understanding the inflight APIs and how
> packed ring works. Update the RST because the packed
> ring patch has been merged to QEMU master and ring_packed
> parameter changes to packed.
> 
> Fixes: c19beb3f38cd ("examples/vhost_blk: introduce vhost storage sample")
> 
> Signed-off-by: Jin Yu <jin...@intel.com>
> ---
>  doc/guides/sample_app_ug/vhost_blk.rst |    8 +-
>  examples/vhost_blk/blk.c               |   13 +-
>  examples/vhost_blk/vhost_blk.c         | 1139 ++++++++++--------------
>  examples/vhost_blk/vhost_blk.h         |   39 +-
>  4 files changed, 494 insertions(+), 705 deletions(-)

Getting following build error with 32-bit build, can you please check it:

.../examples/vhost_blk/vhost_blk.c: In function ‘desc_payload_to_iovs’:
.../examples/vhost_blk/vhost_blk.c:157:9: error: cast to pointer from integer of
different size [-Werror=int-to-pointer-cast]
  157 |   vva = (void *)gpa_to_vva(ctrlr,
      |         ^


Reply via email to