File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ impl Kvm {
152152 OptionalCapabilities {
153153 counter_offset : self
154154 . fd
155- . check_extension_raw ( kvm_bindings:: KVM_CAP_COUNTER_OFFSET )
155+ . check_extension_raw ( kvm_bindings:: KVM_CAP_COUNTER_OFFSET . into ( ) )
156156 != 0 ,
157157 }
158158 }
Original file line number Diff line number Diff line change @@ -1008,6 +1008,7 @@ pub(crate) mod tests {
10081008 smt : false ,
10091009 cpu_config : crate :: cpu_config:: aarch64:: CpuConfiguration :: default ( ) ,
10101010 } ,
1011+ & kvm. optional_capabilities ( ) ,
10111012 )
10121013 . expect ( "failed to configure vcpu" ) ;
10131014
Original file line number Diff line number Diff line change @@ -204,7 +204,6 @@ impl Vm {
204204 . get_irqchip ( )
205205 . save_device ( mpidrs)
206206 . map_err ( VmError :: SaveGic ) ?,
207- kvm_cap_modifiers : self . kvm_cap_modifiers . clone ( ) ,
208207 } )
209208 }
210209
You can’t perform that action at this time.
0 commit comments