Skip to content

Enable RDWRGSFS feature support for KVM

Yang, Wei kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Remove RDWRGSFS bit from CR4_RESERVED_BITSarch/x86/include/asm/kvm_host.h arch/x86/include/asm/processor-flags.h+2 -10 replies
2/3Add RDWRGSFS support when setting CR4arch/x86/kvm/x86.c+11 -00 replies
3/3Expose RDWRGSFS bit to KVM guestsarch/x86/kvm/x86.c+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] Enable RDWRGSFS feature support for KVM

This patch enalbes RDWRGSFS feature to KVM guests.

Write/read FS/GS base instructions enable user level code to read/write FS & GS segment base registers for thread local storage.

---
 arch/x86/include/asm/kvm_host.h        |    2 +-
 arch/x86/include/asm/processor-flags.h |    1 +
 arch/x86/kvm/x86.c                     |   13 ++++++++++++-
 3 files changed, 14 insertions(+), 2 deletions(-)