KVM: move DR register access handling into generic code
authorGleb Natapov <gleb@redhat.com>
Tue, 13 Apr 2010 07:05:23 +0000 (10:05 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:17:39 +0000 (12:17 +0300)
commit020df0794f5764e742feaa718be88b8f1b4ce04f
treece0fca4af2beba046c8632e663bfc082681c6afa
parent6bc31bdc55cad6609b1610b4cecad312664f2808
KVM: move DR register access handling into generic code

Currently both SVM and VMX have their own DR handling code. Move it to
x86.c.

Acked-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c