summaryrefslogtreecommitdiff
path: root/lib/inflate.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-02-23 17:47:56 +0100
committerAvi Kivity <avi@redhat.com>2010-04-25 13:00:43 +0300
commit66b7138f913635b40822890ba8913548f8b285b8 (patch)
tree1dd5faf941e04ae911e0bc9e9f00869f6a0aebd2 /lib/inflate.c
parentf92653eeb496fe8624ac4b0d628c916a06a3d25c (diff)
KVM: SVM: Emulate nRIP feature when reinjecting INT3
When in guest debugging mode, we have to reinject those #BP software exceptions that are caused by guest-injected INT3. As older AMD processors do not support the required nRIP VMCB field, try to emulate it by moving RIP past the instruction on exception injection. Fix it up again in case the injection failed and we were able to catch this. This does not work for unintercepted faults, but it is better than doing nothing. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'lib/inflate.c')
0 files changed, 0 insertions, 0 deletions