diff options
Diffstat (limited to 'include/asm-x86/kvm_host.h')
-rw-r--r-- | include/asm-x86/kvm_host.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/asm-x86/kvm_host.h b/include/asm-x86/kvm_host.h index d451928fc841..99dddfcecf60 100644 --- a/include/asm-x86/kvm_host.h +++ b/include/asm-x86/kvm_host.h | |||
@@ -327,6 +327,21 @@ struct kvm_irq_ack_notifier { | |||
327 | void (*irq_acked)(struct kvm_irq_ack_notifier *kian); | 327 | void (*irq_acked)(struct kvm_irq_ack_notifier *kian); |
328 | }; | 328 | }; |
329 | 329 | ||
330 | struct kvm_assigned_dev_kernel { | ||
331 | struct kvm_irq_ack_notifier ack_notifier; | ||
332 | struct work_struct interrupt_work; | ||
333 | struct list_head list; | ||
334 | struct kvm_assigned_pci_dev assigned_dev; | ||
335 | int assigned_dev_id; | ||
336 | int host_busnr; | ||
337 | int host_devfn; | ||
338 | int host_irq; | ||
339 | int guest_irq; | ||
340 | int irq_requested; | ||
341 | struct pci_dev *dev; | ||
342 | struct kvm *kvm; | ||
343 | }; | ||
344 | |||
330 | struct kvm_arch{ | 345 | struct kvm_arch{ |
331 | int naliases; | 346 | int naliases; |
332 | struct kvm_mem_alias aliases[KVM_ALIAS_SLOTS]; | 347 | struct kvm_mem_alias aliases[KVM_ALIAS_SLOTS]; |
@@ -339,6 +354,7 @@ struct kvm_arch{ | |||
339 | * Hash table of struct kvm_mmu_page. | 354 | * Hash table of struct kvm_mmu_page. |
340 | */ | 355 | */ |
341 | struct list_head active_mmu_pages; | 356 | struct list_head active_mmu_pages; |
357 | struct list_head assigned_dev_head; | ||
342 | struct kvm_pic *vpic; | 358 | struct kvm_pic *vpic; |
343 | struct kvm_ioapic *vioapic; | 359 | struct kvm_ioapic *vioapic; |
344 | struct kvm_pit *vpit; | 360 | struct kvm_pit *vpit; |