]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: emulate: warn on invalid or uninitialized exception numbers
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Aug 2014 08:08:23 +0000 (10:08 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Aug 2014 11:01:26 +0000 (13:01 +0200)
commit55f8b2d3f148b1ebc7899257d33aa4dd3f940a4b
tree36b2efe539ed3bffea8e923962bbbd0bf968da21
parent6619ef7ca8660ef716f17cfffb488022995964c9
KVM: emulate: warn on invalid or uninitialized exception numbers

These were reported when running Jailhouse on AMD processors.

Initialize ctxt->exception.vector with an invalid exception number,
and warn if it remained invalid even though the emulator got
an X86EMUL_PROPAGATE_FAULT return code.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c
arch/x86/kvm/x86.c