summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/irq.h
diff options
context:
space:
mode:
authorZhang Xiantao <xiantao.zhang@intel.com>2007-12-14 10:17:34 +0800
committerAvi Kivity <avi@qumranet.com>2008-01-30 17:58:10 +0200
commitd7deeeb02cf73fd98cb71a6a0a5dffab9ef79556 (patch)
treed1f1d1bf5ae822ddf1d91caf484366ebabf11217 /drivers/kvm/irq.h
parentf05e70ac03a6614af12194a014b338ec5594cb5c (diff)
KVM: Portability: move vpic and vioapic to kvm_arch
This patches moves two fields vpid and vioapic to kvm_arch Signed-off-by: Zhang Xiantao <xiantao.zhang@intel.com> Acked-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/irq.h')
-rw-r--r--drivers/kvm/irq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h
index a688c51d0a3..6e023dc3f84 100644
--- a/drivers/kvm/irq.h
+++ b/drivers/kvm/irq.h
@@ -148,12 +148,12 @@ do { \
static inline struct kvm_pic *pic_irqchip(struct kvm *kvm)
{
- return kvm->vpic;
+ return kvm->arch.vpic;
}
static inline struct kvm_ioapic *ioapic_irqchip(struct kvm *kvm)
{
- return kvm->vioapic;
+ return kvm->arch.vioapic;
}
static inline int irqchip_in_kernel(struct kvm *kvm)