aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm.h
diff options
context:
space:
mode:
authorEddie Dong <eddie.dong@intel.com>2007-08-06 09:29:07 -0400
committerAvi Kivity <avi@qumranet.com>2007-10-13 04:18:26 -0400
commit2a8067f17b8442ecce0b14e134823020ff33b4fa (patch)
treee7f65775b3ced0c42de2df8118a84e7ddb9fff7d /drivers/kvm/kvm.h
parent96ad2cc6132479aa0aea485d0838a13fda765bd5 (diff)
KVM: pending irq save/restore
Add in kernel irqchip save/restore support for pending vectors. [avi: fix compile warning on i386] [avi: remove printk] Signed-off-by: Yaozu (Eddie) Dong <eddie.dong@intel.com> Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm.h')
-rw-r--r--drivers/kvm/kvm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/kvm/kvm.h b/drivers/kvm/kvm.h
index bb506b71797d..f8fe87d3ddbd 100644
--- a/drivers/kvm/kvm.h
+++ b/drivers/kvm/kvm.h
@@ -490,6 +490,8 @@ struct kvm_arch_ops {
490 void (*skip_emulated_instruction)(struct kvm_vcpu *vcpu); 490 void (*skip_emulated_instruction)(struct kvm_vcpu *vcpu);
491 void (*patch_hypercall)(struct kvm_vcpu *vcpu, 491 void (*patch_hypercall)(struct kvm_vcpu *vcpu,
492 unsigned char *hypercall_addr); 492 unsigned char *hypercall_addr);
493 int (*get_irq)(struct kvm_vcpu *vcpu);
494 void (*set_irq)(struct kvm_vcpu *vcpu, int vec);
493}; 495};
494 496
495extern struct kvm_arch_ops *kvm_arch_ops; 497extern struct kvm_arch_ops *kvm_arch_ops;