mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-18 10:35:23 +00:00
vhost_user_block: Implement VIRTIO_BLK_F_FLUSH
As the parsing code is reused the flush feature is already implemented and ready to be used. Fixes: #1197 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
parent
95e3eddaf0
commit
e6fd6d6360
@ -259,6 +259,7 @@ impl VhostUserBackend for VhostUserBlkBackend {
|
||||
| 1 << VIRTIO_BLK_F_CONFIG_WCE
|
||||
| 1 << VIRTIO_RING_F_EVENT_IDX
|
||||
| 1 << VIRTIO_F_VERSION_1
|
||||
| 1 << VIRTIO_BLK_F_FLUSH
|
||||
| VhostUserVirtioFeatures::PROTOCOL_FEATURES.bits();
|
||||
|
||||
if self.rdonly {
|
||||
|
Loading…
x
Reference in New Issue
Block a user