mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-21 15:31:15 +00:00
get_used_event is used from vhost_user_backend:needs_notification to check whether an interrupt must be sent to the guest to notify there are new items in the queue. Shorten the update window by asking the the compiler to inline this method, so a write won't slip between the read of the memory contents and the actual check. Signed-off-by: Sergio Lopez <slp@redhat.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |