KVM: Replace kvm_lapic with kvm_vcpu in ioapic/lapic interface
authorZhang Xiantao <xiantao.zhang@intel.com>
Sun, 2 Dec 2007 14:35:57 +0000 (22:35 +0800)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:53:17 +0000 (17:53 +0200)
commit8be5453f95933340a42c6e7fc7b66f3bb786fddd
tree7c17e5413f4085d1dd344c72ffad88b728ffadcd
parent2b5203ee6828e9cabab1e1fb42e53d72ab9351a6
KVM: Replace kvm_lapic with kvm_vcpu in ioapic/lapic interface

This patch replaces lapic structure with kvm_vcpu in ioapic.c, making ioapic
independent of the local apic, as required by ia64.

Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/ioapic.c
drivers/kvm/irq.h
drivers/kvm/lapic.c