mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
hypervisor: Fix clippy: for_kv_map
Fix use of a paired map iterator when only the values are cared about. Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
@@ -2210,7 +2210,7 @@ impl vm::Vm for MshvVm {
|
||||
// Before disabling the dirty page tracking we need
|
||||
// to set the dirty bits in the Hypervisor
|
||||
// This is a requirement from Microsoft Hypervisor
|
||||
for (_, s) in dirty_log_slots.iter() {
|
||||
for s in dirty_log_slots.values() {
|
||||
self.fd
|
||||
.get_dirty_log(
|
||||
s.guest_pfn,
|
||||
|
||||
Reference in New Issue
Block a user