cloud-hypervisor/hypervisor/src
Rob Bradford 0a97b76c52 hypervisor: mshv: Fix beta clippy issue
error: this boolean expression can be simplified
   --> hypervisor/src/mshv/mod.rs:348:25
    |
348 |                         !(unsafe { access_info.__bindgen_anon_1.string_op() } == 1),
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unsafe { access_info.__bindgen_anon_1.string_op() } != 1`
    |
    = note: `-D clippy::nonminimal-bool` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool

error: this boolean expression can be simplified
   --> hypervisor/src/mshv/mod.rs:352:25
    |
352 |                         !(unsafe { access_info.__bindgen_anon_1.rep_prefix() } == 1),
    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unsafe { access_info.__bindgen_anon_1.rep_prefix() } != 1`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2022-01-14 14:33:18 +00:00
..
arch hypervisor: drop one unsafe from mock_vmm 2021-11-18 14:42:55 +00:00
kvm hypervisor: Add support for setting KVM identity map 2021-12-04 19:33:34 +00:00
mshv hypervisor: mshv: Fix beta clippy issue 2022-01-14 14:33:18 +00:00
cpu.rs hypervisor: Add Misc register to Save/Restore state for MSHV 2021-10-15 14:54:02 -07:00
device.rs hypervisor: Implement get_device_attr method for AArch64 2020-09-23 12:37:25 +01:00
hypervisor.rs hypervisor: Add get_host_ipa_limit for AArch64 2021-06-10 12:06:17 +02:00
lib.rs misc: Remove unnecessary "extern crate" 2021-05-12 17:26:11 +02:00
vm.rs hypervisor: Add support for setting KVM identity map 2021-12-04 19:33:34 +00:00