commit | 4f926bf291863c237188bd2e27222ed801f12094 | [log] [tgz] |
---|---|---|
author | Jan Kiszka <jan.kiszka@siemens.com> | Fri Oct 30 12:46:59 2009 +0100 |
committer | Avi Kivity <avi@redhat.com> | Thu Dec 03 09:32:24 2009 +0200 |
tree | f7cd491f8f05f0bc265271defc8be0b8012867be | |
parent | e50212bb51356f0df48d6cce0aae5acf41df336d [diff] |
KVM: x86: Polish exception injection via KVM_SET_GUEST_DEBUG Decouple KVM_GUESTDBG_INJECT_DB and KVM_GUESTDBG_INJECT_BP from KVM_GUESTDBG_ENABLE, their are actually orthogonal. At this chance, avoid triggering the WARN_ON in kvm_queue_exception if there is already an exception pending and reject such invalid requests. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>