-
Notifications
You must be signed in to change notification settings - Fork 133
Open
Description
In cloud-hypervisor/cloud-hypervisor#7428 (comment) we are having an intense discussion about KVMs immediate_exit:
kvm/kvm-ioctls/src/ioctls/vcpu.rs
Line 1682 in 48d93d6
| kvm_run.immediate_exit = val; |
- The
immediate_exitfield should beAtomicU8 - We somehow need to expose this nicely to higher-level APIs, possibly give higher-level APIs control over the memory ordering (but I'm not too sure on the latter)
It is unfortunate that bindgen can't really automate this and it needs manual adjustment. From looking at the KVM specification and code we know that this field is supposed to be used atomically.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels