diff options
| author | Xiaoyao Li <xiaoyao.li@intel.com> | 2025-05-08 10:59:21 -0400 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-28 19:01:41 +0200 |
| commit | 0e73b843616e52882940ab89e1b0e86e22be2162 (patch) | |
| tree | aec53107d86d78abcc82c9e61216b3e14b20fe4c /python/scripts | |
| parent | d529a2ac5ef4620173439942f78ec668f9165fc1 (diff) | |
| download | focaccia-qemu-0e73b843616e52882940ab89e1b0e86e22be2162.tar.gz focaccia-qemu-0e73b843616e52882940ab89e1b0e86e22be2162.zip | |
i386/tdx: Implement user specified tsc frequency
Reuse "-cpu,tsc-frequency=" to get user wanted tsc frequency and call VM scope VM_SET_TSC_KHZ to set the tsc frequency of TD before KVM_TDX_INIT_VM. Besides, sanity check the tsc frequency to be in the legal range and legal granularity (required by TDX module). Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250508150002.689633-16-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python/scripts')
0 files changed, 0 insertions, 0 deletions