summaryrefslogtreecommitdiff
path: root/ae98c6bc21bccee8ef9b9415f68f965797d5a082
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.bie@intel.com>2018-05-10 23:41:26 +0800
committerMichael S. Tsirkin <mst@redhat.com>2018-05-23 20:34:52 +0300
commit12fe939f1df9482d6134f9ec5ae39ddacc3df426 (patch)
tree0f77676a0eba64be8205e2bead98d8c42ac2138d /ae98c6bc21bccee8ef9b9415f68f965797d5a082
parent64d1a58f3ffe37ee28c0bc0c34bece8ebd1f6356 (diff)
VIRTIO_F_IO_BARRIER: use I/O barriers in driver
There will be hardware virtio devices in the future, which require drivers to use the barriers suitable for I/O devices, compared with software virtio devices which just require drivers to use the barriers suitable for CPU cores. To fix the ordering issue for hardware virtio devices, add a new feature: VIRTIO_F_IO_BARRIER. When negotiated, driver will use the barriers suitable for I/O devices. Fixes: https://github.com/oasis-tcs/virtio-spec/issues/10 Signed-off-by: Tiwei Bie <tiwei.bie@intel.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'ae98c6bc21bccee8ef9b9415f68f965797d5a082')
0 files changed, 0 insertions, 0 deletions