diff options
author | Jim Mattson <[email protected]> | 2018-10-16 14:29:22 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2018-10-17 19:07:43 +0200 |
commit | da998b46d244767505e41d050dcac5e4d03ba96f (patch) | |
tree | 8e719071b6732577b306b04dfb6fe886a244e51f /scripts/bpf_helpers_doc.py | |
parent | 91e86d225ef3da80d33a8fd7695316c31c0810c9 (diff) |
kvm: x86: Defer setting of CR2 until #PF delivery
When exception payloads are enabled by userspace (which is not yet
possible) and a #PF is raised in L2, defer the setting of CR2 until
the #PF is delivered. This allows the L1 hypervisor to intercept the
fault before CR2 is modified.
For backwards compatibility, when exception payloads are not enabled
by userspace, kvm_multiple_exception modifies CR2 when the #PF
exception is raised.
Reported-by: Jim Mattson <[email protected]>
Suggested-by: Paolo Bonzini <[email protected]>
Signed-off-by: Jim Mattson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions