Re: [PATCH] KVM: VMX: Do not skip the instruction if handle_dr injects a fault

2013-12-20 Thread Paolo Bonzini
Il 18/12/2013 19:16, Jan Kiszka ha scritto: > If kvm_get_dr or kvm_set_dr reports that it raised a fault, we must not > advance the instruction pointer. Otherwise the exception will hit the > wrong instruction. > > Signed-off-by: Jan Kiszka > --- > arch/x86/kvm/vmx.c | 10 +++--- > 1 file ch

[PATCH] KVM: VMX: Do not skip the instruction if handle_dr injects a fault

2013-12-18 Thread Jan Kiszka
If kvm_get_dr or kvm_set_dr reports that it raised a fault, we must not advance the instruction pointer. Otherwise the exception will hit the wrong instruction. Signed-off-by: Jan Kiszka --- arch/x86/kvm/vmx.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/arch/x8