diff options
author | xiantao.zhang@intel.com <xiantao.zhang@intel.com> | 2007-12-17 20:27:27 +0800 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2007-12-17 15:42:25 +0200 |
commit | 04e6202e30ecd89c8e48802b64397ebaa55363e9 (patch) | |
tree | 7786165e4a130b1ea92778d16c2a08f91477b1ab | |
parent | e4f8524a630ca33c3000263d29acb5c619ee94f0 (diff) |
KVM: Expose ioapic to ia64 save/restore APIskvm-57rc1
IA64 also needs to see ioapic structure in irqchip.
Signed-off-by: xiantao.zhang@intel.com <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
-rw-r--r-- | include/linux/kvm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index f0bebd61ff77..de9f28d96ced 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h @@ -53,6 +53,8 @@ struct kvm_irqchip { char dummy[512]; /* reserving space */ #ifdef CONFIG_X86 struct kvm_pic_state pic; +#endif +#if defined(CONFIG_X86) || defined(CONFIG_IA64) struct kvm_ioapic_state ioapic; #endif } chip; |