diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2010-02-23 17:47:53 +0100 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 12:36:14 -0300 |
commit | c573cd22939e54fc1b8e672054a505048987a7cb (patch) | |
tree | fdfb036f42f93c97cc06b1c505ad02963dfb7b82 /arch/x86/kvm/x86.c | |
parent | e54cfa97a9ca9a544a7257b89b530b505ae1b892 (diff) | |
download | lwn-c573cd22939e54fc1b8e672054a505048987a7cb.tar.gz lwn-c573cd22939e54fc1b8e672054a505048987a7cb.zip |
KVM: VMX: Update instruction length on intercepted BP
We intercept #BP while in guest debugging mode. As VM exits due to
intercepted exceptions do not necessarily come with valid
idt_vectoring, we have to update event_exit_inst_len explicitly in such
cases. At least in the absence of migration, this ensures that
re-injections of #BP will find and use the correct instruction length.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: stable@kernel.org (2.6.32, 2.6.33)
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions