[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-9.1 7/7] target/i386/kvm: Update comment in kvm_cpu_realizefn
From: |
Zhao Liu |
Subject: |
[PATCH for-9.1 7/7] target/i386/kvm: Update comment in kvm_cpu_realizefn() |
Date: |
Fri, 29 Mar 2024 18:19:54 +0800 |
From: Zhao Liu <zhao1.liu@intel.com>
With the guest_phys_bits and legacy_kvmclock change, update the comment
about function call flow.
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
---
target/i386/kvm/kvm-cpu.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/target/i386/kvm/kvm-cpu.c b/target/i386/kvm/kvm-cpu.c
index 753f90c18bd6..5b48b023c33b 100644
--- a/target/i386/kvm/kvm-cpu.c
+++ b/target/i386/kvm/kvm-cpu.c
@@ -60,7 +60,10 @@ static bool kvm_cpu_realizefn(CPUState *cs, Error **errp)
* -> x86_cpu_expand_features()
* -> cpu_exec_realizefn():
* -> accel_cpu_common_realize()
- * kvm_cpu_realizefn() -> host_cpu_realizefn()
+ * kvm_cpu_realizefn()
+ * -> update cpu_pm, ucode_rev, kvmclock
+ * host_cpu_realizefn()
+ * update guest_phys_bits on Host support
* -> cpu_common_realizefn()
* -> check/update ucode_rev, phys_bits, mwait
*/
--
2.34.1
- [PATCH for-9.1 0/7] target/i386/kvm: Cleanup the kvmclock feature name, Zhao Liu, 2024/03/29
- [PATCH for-9.1 1/7] target/i386/kvm: Add feature bit definitions for KVM CPUID, Zhao Liu, 2024/03/29
- [PATCH for-9.1 2/7] target/i386/kvm: Remove local MSR_KVM_WALL_CLOCK and MSR_KVM_SYSTEM_TIME definitions, Zhao Liu, 2024/03/29
- [PATCH for-9.1 3/7] target/i386/kvm: Only Save/load kvmclock MSRs when kvmclock enabled, Zhao Liu, 2024/03/29
- [PATCH for-9.1 4/7] target/i386/kvm: Save/load MSRs of new kvmclock (KVM_FEATURE_CLOCKSOURCE2), Zhao Liu, 2024/03/29
- [PATCH for-9.1 5/7] target/i386/kvm: Add legacy_kvmclock cpu property, Zhao Liu, 2024/03/29
- [PATCH for-9.1 6/7] target/i386: Fix duplicated kvmclock name in FEAT_KVM, Zhao Liu, 2024/03/29
- [PATCH for-9.1 7/7] target/i386/kvm: Update comment in kvm_cpu_realizefn(),
Zhao Liu <=