File tree 3 files changed +2
-2
lines changed
3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ impl Kvm {
152
152
OptionalCapabilities {
153
153
counter_offset : self
154
154
. fd
155
- . check_extension_raw ( kvm_bindings:: KVM_CAP_COUNTER_OFFSET )
155
+ . check_extension_raw ( kvm_bindings:: KVM_CAP_COUNTER_OFFSET . into ( ) )
156
156
!= 0 ,
157
157
}
158
158
}
Original file line number Diff line number Diff line change @@ -1008,6 +1008,7 @@ pub(crate) mod tests {
1008
1008
smt : false ,
1009
1009
cpu_config : crate :: cpu_config:: aarch64:: CpuConfiguration :: default ( ) ,
1010
1010
} ,
1011
+ & kvm. optional_capabilities ( ) ,
1011
1012
)
1012
1013
. expect ( "failed to configure vcpu" ) ;
1013
1014
Original file line number Diff line number Diff line change @@ -204,7 +204,6 @@ impl Vm {
204
204
. get_irqchip ( )
205
205
. save_device ( mpidrs)
206
206
. map_err ( VmError :: SaveGic ) ?,
207
- kvm_cap_modifiers : self . kvm_cap_modifiers . clone ( ) ,
208
207
} )
209
208
}
210
209
You can’t perform that action at this time.
0 commit comments