diff options
author | Zhang Xiantao <xiantao.zhang@intel.com> | 2007-12-13 21:17:34 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:58:10 -0500 |
commit | d7deeeb02cf73fd98cb71a6a0a5dffab9ef79556 (patch) | |
tree | d1f1d1bf5ae822ddf1d91caf484366ebabf11217 /drivers/kvm/irq.h | |
parent | f05e70ac03a6614af12194a014b338ec5594cb5c (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/irq.h b/drivers/kvm/irq.h index a688c51d0a39..6e023dc3f848 100644 --- a/drivers/kvm/irq.h +++ b/drivers/kvm/irq.h | |||
@@ -148,12 +148,12 @@ do { \ | |||
148 | 148 | ||
149 | static inline struct kvm_pic *pic_irqchip(struct kvm *kvm) | 149 | static inline struct kvm_pic *pic_irqchip(struct kvm *kvm) |
150 | { | 150 | { |
151 | return kvm->vpic; | 151 | return kvm->arch.vpic; |
152 | } | 152 | } |
153 | 153 | ||
154 | static inline struct kvm_ioapic *ioapic_irqchip(struct kvm *kvm) | 154 | static inline struct kvm_ioapic *ioapic_irqchip(struct kvm *kvm) |
155 | { | 155 | { |
156 | return kvm->vioapic; | 156 | return kvm->arch.vioapic; |
157 | } | 157 | } |
158 | 158 | ||
159 | static inline int irqchip_in_kernel(struct kvm *kvm) | 159 | static inline int irqchip_in_kernel(struct kvm *kvm) |