diff mbox series

[for-9.1,7/7] target/i386/kvm: Update comment in kvm_cpu_realizefn()

Message ID 20240329101954.3954987-8-zhao1.liu@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series target/i386/kvm: Cleanup the kvmclock feature name | expand

Commit Message

Zhao Liu March 29, 2024, 10:19 a.m. UTC
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 mbox series

Patch

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
      */