Re: [PATCH v1 36/40] i386/tdx: Don't synchronize guest tsc for TDs

2022-08-26 Thread Gerd Hoffmann
On Tue, Aug 02, 2022 at 03:47:46PM +0800, Xiaoyao Li wrote: > From: Isaku Yamahata > > TSC of TDs is not accessible and KVM doesn't allow access of > MSR_IA32_TSC for TDs. To avoid the assert() in kvm_get_tsc, make > kvm_synchronize_all_tsc() noop for TDs, > > Signed-off-by: Isaku Yamahata > Re

[PATCH v1 36/40] i386/tdx: Don't synchronize guest tsc for TDs

2022-08-02 Thread Xiaoyao Li
From: Isaku Yamahata TSC of TDs is not accessible and KVM doesn't allow access of MSR_IA32_TSC for TDs. To avoid the assert() in kvm_get_tsc, make kvm_synchronize_all_tsc() noop for TDs, Signed-off-by: Isaku Yamahata Reviewed-by: Connor Kuehl Signed-off-by: Xiaoyao Li --- target/i386/kvm/kvm