Skip to content

Commit dd2ce57

Browse files
committed
re-enable async pf
1 parent e9dda44 commit dd2ce57

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/cpuid/src/transformer/amd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ impl CpuidTransformer for AmdCpuidTransformer {
147147
leaf_0x8000001d::LEAF_NUM => Some(amd::update_extended_cache_topology_entry),
148148
leaf_0x8000001e::LEAF_NUM => Some(amd::update_extended_apic_id_entry),
149149
0x8000_0002..=0x8000_0004 => Some(common::update_brand_string_entry),
150-
// Disable async PF, as it hangs the VM for some reason when loading from snapshot/uffd.
151-
0x4000_0001 => Some(common::disable_kvm_feature_async_pf),
150+
// // Disable async PF, as it hangs the VM for some reason when loading from snapshot/uffd.
151+
// 0x4000_0001 => Some(common::disable_kvm_feature_async_pf),
152152
_ => None,
153153
}
154154
}

src/cpuid/src/transformer/intel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ impl CpuidTransformer for IntelCpuidTransformer {
126126
leaf_0xa::LEAF_NUM => Some(intel::update_perf_mon_entry),
127127
leaf_0xb::LEAF_NUM => Some(intel::update_extended_topology_entry),
128128
0x8000_0002..=0x8000_0004 => Some(common::update_brand_string_entry),
129-
// Disable async PF, as it hangs the VM for some reason when loading from snapshot/uffd.
130-
0x4000_0001 => Some(common::disable_kvm_feature_async_pf),
129+
// // Disable async PF, as it hangs the VM for some reason when loading from snapshot/uffd.
130+
// 0x4000_0001 => Some(common::disable_kvm_feature_async_pf),
131131
_ => None,
132132
}
133133
}

0 commit comments

Comments
 (0)