|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC PATCH 0/5] x86: Multiple fixes to MSR_TSC_AUX and RDTSCP handling for guests
This rats nest was discovered when finding that MSR_TSC_AUX leaked into PV
guests. It is RFC because I haven't done extensive testing on the result, and
because there are some functional changes for the virtualised TSC modes.
Andrew Cooper (5):
x86/hvm: Don't shadow the domain parameter in hvm_save_cpu_msrs()
x86/pv: Avoid leaking other guests' MSR_TSC_AUX values into PV context
x86/time: Rework pv_soft_rdtsc() to aid further cleanup
x86/pv: Remove deferred RDTSC{,P} handling in pv_emulate_privileged_op()
x86: Rework MSR_TSC_AUX handling from scratch.
xen/arch/x86/domain.c | 5 ++-
xen/arch/x86/domctl.c | 15 ++++++++-
xen/arch/x86/hvm/hvm.c | 51 ++++++++++++++++++++---------
xen/arch/x86/hvm/svm/svm.c | 4 +--
xen/arch/x86/hvm/vmx/vmx.c | 4 +--
xen/arch/x86/msr.c | 18 ++++++++++
xen/arch/x86/pv/emul-inv-op.c | 5 ++-
xen/arch/x86/pv/emul-priv-op.c | 30 ++---------------
xen/arch/x86/time.c | 19 +++++++----
xen/arch/x86/x86_emulate/x86_emulate.c | 1 +
xen/include/asm-x86/hvm/hvm.h | 6 ----
xen/include/asm-x86/hvm/vcpu.h | 1 -
xen/include/asm-x86/msr.h | 25 ++++++++++++--
xen/include/asm-x86/time.h | 2 +-
xen/include/public/arch-x86/cpufeatureset.h | 2 +-
xen/include/public/arch-x86/hvm/save.h | 2 ++
xen/tools/gen-cpuid.py | 3 ++
17 files changed, 123 insertions(+), 70 deletions(-)
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |