KVM: x86: Refactor guest debug IOCTL handling
authorJan Kiszka <jan.kiszka@web.de>
Fri, 2 Oct 2009 22:31:21 +0000 (00:31 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 3 Dec 2009 07:32:14 +0000 (09:32 +0200)
commit355be0b9300579e02275d7d19374806a974ce622
treefaa52bac7a0d1d83c7a0a8f1bec01088b77a68fb
parent201d945bcfb0d53e67c9c081f7c28532eb4669c7
KVM: x86: Refactor guest debug IOCTL handling

Much of so far vendor-specific code for setting up guest debug can
actually be handled by the generic code. This also fixes a minor deficit
in the SVM part /wrt processing KVM_GUESTDBG_ENABLE.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c