summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@linux.alibaba.com>2021-09-18 08:56:36 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-09-30 04:27:10 -0400
commit8b8f9d753b84c243bf0b1004b515c53b7ec7e138 (patch)
tree5290bc2e6680a3c542300caf6f8362644d80adf7 /virt
parentf1c4a88c41ea04a7036409a37e17cf22a8dbe9e2 (diff)
KVM: X86: Don't check unsync if the original spte is writible
If the original spte is writable, the target gfn should not be the gfn of synchronized shadowpage and can continue to be writable. When !can_unsync, speculative must be false. So when the check of "!can_unsync" is removed, we need to move the label of "out" up. Signed-off-by: Lai Jiangshan <laijs@linux.alibaba.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210918005636.3675-11-jiangshanlai@gmail.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions