mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
KVM: Add irq ack notifier list
This can be used by kvm subsystems that are interested in when interrupts are acked, for example time drift compensation. Signed-off-by: Avi Kivity <[email protected]>
This commit is contained in:
parent
49dd2c4928
commit
564f15378f
3 changed files with 34 additions and 0 deletions
|
|
@ -321,6 +321,12 @@ struct kvm_mem_alias {
|
|||
gfn_t target_gfn;
|
||||
};
|
||||
|
||||
struct kvm_irq_ack_notifier {
|
||||
struct hlist_node link;
|
||||
unsigned gsi;
|
||||
void (*irq_acked)(struct kvm_irq_ack_notifier *kian);
|
||||
};
|
||||
|
||||
struct kvm_arch{
|
||||
int naliases;
|
||||
struct kvm_mem_alias aliases[KVM_ALIAS_SLOTS];
|
||||
|
|
@ -336,6 +342,7 @@ struct kvm_arch{
|
|||
struct kvm_pic *vpic;
|
||||
struct kvm_ioapic *vioapic;
|
||||
struct kvm_pit *vpit;
|
||||
struct hlist_head irq_ack_notifier_list;
|
||||
|
||||
int round_robin_prev_vcpu;
|
||||
unsigned int tss_addr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue