diff options
author | Stefano Garzarella | 2022-08-11 10:36:31 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-08-11 04:44:58 -0400 |
commit | 518083d2f5b2e7c91549ac1723923e8ae3d679ca (patch) | |
tree | 6dc72a76411c747ece79ba2c1d7a50f7067b4571 /lib/iomap.c | |
parent | ac926e1b468e03818e31568f6e520390b945b038 (diff) |
vdpa_sim_blk: add support for VIRTIO_BLK_T_FLUSH
The simulator behaves like a ramdisk, so we don't have to do
anything when a VIRTIO_BLK_T_FLUSH request is received, but it
could be useful to test driver behavior.
Let's expose the VIRTIO_BLK_F_FLUSH feature to inform the driver
that we support the flush command.
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20220811083632.77525-4-sgarzare@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/iomap.c')
0 files changed, 0 insertions, 0 deletions