提交 ec10f475 编写于 作者: Z Zhang Xiantao 提交者: Avi Kivity

KVM: Expose ioapic to ia64 save/restore APIs

IA64 also needs to see ioapic structure in irqchip.
Signed-off-by: Nxiantao.zhang@intel.com <xiantao.zhang@intel.com>
Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 5736199a
...@@ -53,6 +53,8 @@ struct kvm_irqchip { ...@@ -53,6 +53,8 @@ struct kvm_irqchip {
char dummy[512]; /* reserving space */ char dummy[512]; /* reserving space */
#ifdef CONFIG_X86 #ifdef CONFIG_X86
struct kvm_pic_state pic; struct kvm_pic_state pic;
#endif
#if defined(CONFIG_X86) || defined(CONFIG_IA64)
struct kvm_ioapic_state ioapic; struct kvm_ioapic_state ioapic;
#endif #endif
} chip; } chip;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册