From: Jan Kiszka Date: Tue, 23 Feb 2010 16:47:56 +0000 (+0100) Subject: KVM: SVM: Emulate nRIP feature when reinjecting INT3 X-Git-Tag: v2.6.35-rc1~436^2~222 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66b7138f913635b40822890ba8913548f8b285b8;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed