diff options
Diffstat (limited to 'kvm')
-rw-r--r-- | kvm/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kvm/src/lib.rs b/kvm/src/lib.rs index 17b22c9..ba8567c 100644 --- a/kvm/src/lib.rs +++ b/kvm/src/lib.rs @@ -1190,6 +1190,7 @@ impl Vcpu { /// by signal handlers to call set_local_immediate_exit(). Signal /// number (if provided, otherwise use -1) will be temporily blocked when the vcpu /// is added to the map, or later destroyed/removed from the map. + #[allow(clippy::cast_ptr_alignment)] pub fn set_thread_id(&mut self, signal_num: c_int) { // Block signal while we add -- if a signal fires (very unlikely, // as this means something is trying to pause the vcpu before it has |