KVM: Define and use cr8 access functions
authorEddie Dong <eddie.dong@intel.com>
Wed, 18 Jul 2007 08:34:57 +0000 (11:34 +0300)
committerAvi Kivity <avi@qumranet.com>
Sat, 13 Oct 2007 08:18:25 +0000 (10:18 +0200)
commit7017fc3d1a12e30ea7df4992152978a188433457
treeebbe0e5852ddd58bddfed389412c86c7692d2724
parent85f455f7ddbed403b34b4d54b1eaf0e14126a126
KVM: Define and use cr8 access functions

This patch is to wrap APIC base register and CR8 operation which can
provide a unique API for user level irqchip and kernel irqchip.
This is a preparation of merging lapic/ioapic patch.

Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
drivers/kvm/svm.c
drivers/kvm/vmx.c