Re: [PATCH v2 kvmtool] virtio: Fix ordering of virtio_queue__should_signal()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 4 Aug 2020 15:53:17 +0100, Alexandru Elisei wrote:
> The guest programs used_event in the avail ring to let the host know when
> it wants a notification from the device. The host notifies the guest when
> the used ring index passes used_event. It is possible for the guest to
> submit a buffer, and then go into uninterruptible sleep waiting for this
> notification.
> 
> The virtio-blk guest driver, in the notification callback virtblk_done(),
> increments the last known used ring index, then sets used_event to this
> value, which means it will get a notification after the next buffer is
> consumed by the host. virtblk_done() exits after the value of the used
> ring idx has been propagated from the host thread.
> 
> [...]

Applied to kvmtool (master), thanks!

[1/1] virtio: Fix ordering of virtio_queue__should_signal()
      https://git.kernel.org/will/kvmtool/c/d7d79bd51412

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux