Skip to content

Fix cr0.wp=0 emulation

Avi Kivity kvm 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: MMU: Allow spte.w=1 for gpte.w=0 and cr0.wp=0 only in shadow modearch/x86/kvm/mmu.c+2 -10 replies
2/3KVM: MMU: Remove user access when allowing kernel access to gpte.w=0 pagearch/x86/kvm/mmu.c+3 -01 reply
3/3KVM: MMU: Document cr0.wp emulationDocumentation/kvm/mmu.txt+18 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchXiao Guangrong
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Fix cr0.wp=0 emulation

Xiao didn't find the nice cr0.wp=0 trick because it wasn't there, removed accidentally by b70ccb0b3fd. Restore the trick and document it.

Avi Kivity (3):
KVM: MMU: Allow spte.w=1 for gpte.w=0 and cr0.wp=0 only in shadow
mode
KVM: MMU: Remove user access when allowing kernel access to gpte.w=0
page
KVM: MMU: Document cr0.wp emulation

 Documentation/kvm/mmu.txt |   18 ++++++++++++++++++
 arch/x86/kvm/mmu.c        |    6 +++++-
 2 files changed, 23 insertions(+), 1 deletions(-)