diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2022-08-11 10:36:29 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-08-11 04:44:57 -0400 |
commit | b91cf6e95b4f987d0d26def0c9cca3168d7752cb (patch) | |
tree | dfc470f4cf949f3ffd85d5f31a9e1d94f0e19b6a /samples | |
parent | 0c89e2a3a9d0815b6eb769ed22157bd9996cbb58 (diff) |
vdpa_sim_blk: check if sector is 0 for commands other than read or write
VIRTIO spec states: "The sector number indicates the offset
(multiplied by 512) where the read or write is to occur. This field is
unused and set to 0 for commands other than read or write."
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20220811083632.77525-2-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions