Commit 5f3b30b
KVM: x86: Push down setting vcpu.arch.user_set_tsc
Push down setting vcpu.arch.user_set_tsc to true from kvm_synchronize_tsc()
to __kvm_synchronize_tsc() so that the two callers don't have to modify
user_set_tsc directly as preparation.
Later, prohibit changing TSC synchronization for TDX guests to modify
__kvm_synchornize_tsc() change. We don't want to touch caller sites not to
change user_set_tsc.
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
Message-ID: <62b1a7a35d6961844786b6e47e8ecb774af7a228.1728719037.git.isaku.yamahata@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>1 parent 46c4937 commit 5f3b30b
1 file changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2626 | 2626 | | |
2627 | 2627 | | |
2628 | 2628 | | |
2629 | | - | |
| 2629 | + | |
2630 | 2630 | | |
2631 | 2631 | | |
2632 | 2632 | | |
2633 | 2633 | | |
2634 | 2634 | | |
| 2635 | + | |
| 2636 | + | |
| 2637 | + | |
2635 | 2638 | | |
2636 | 2639 | | |
2637 | 2640 | | |
| |||
2717 | 2720 | | |
2718 | 2721 | | |
2719 | 2722 | | |
2720 | | - | |
2721 | | - | |
2722 | 2723 | | |
2723 | 2724 | | |
2724 | 2725 | | |
| |||
2738 | 2739 | | |
2739 | 2740 | | |
2740 | 2741 | | |
2741 | | - | |
| 2742 | + | |
2742 | 2743 | | |
2743 | 2744 | | |
2744 | 2745 | | |
| |||
5725 | 5726 | | |
5726 | 5727 | | |
5727 | 5728 | | |
5728 | | - | |
5729 | | - | |
| 5729 | + | |
5730 | 5730 | | |
5731 | 5731 | | |
5732 | 5732 | | |
| |||
0 commit comments