cloud-hypervisor/vm-virtio
Xie Yongji 72b736153e vm-virtio: Fix update_avail_event() memory ordering
We should use full memory barrier to ensure both guest and us
can see the correct avail_idx and avail_event_idx. Something
like this pattern:

VM:                           CLH:
update vring.avail->idx       update avail_event_idx
mb()                          mb()
read avail_event_idx          read vring.avail->idx

Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
2021-01-20 08:32:56 +01:00
..
src vm-virtio: Fix update_avail_event() memory ordering 2021-01-20 08:32:56 +01:00
Cargo.toml build(deps): bump log from 0.4.11 to 0.4.13 2021-01-11 12:49:34 +00:00