diff options
author | Keir Fraser <keir@xen.org> | 2010-11-19 13:43:24 +0000 |
---|---|---|
committer | Keir Fraser <keir@xen.org> | 2010-11-19 13:43:24 +0000 |
commit | 0b469cd6870899a52c41be1cb3c982976531d59d (patch) | |
tree | e80341800e6234bb7c2e81b8ce38dcfbc2e2b949 /xen/include/asm-x86/domain.h | |
parent | 26b1575bf3d4abd407724c0cc6a2365fd78e0b6d (diff) | |
download | xen-0b469cd6870899a52c41be1cb3c982976531d59d.tar.gz xen-0b469cd6870899a52c41be1cb3c982976531d59d.tar.bz2 xen-0b469cd6870899a52c41be1cb3c982976531d59d.zip |
Interrupt remapping to PIRQs in HVM guests
This patch allows HVM guests to remap interrupts and MSIs into pirqs;
once the mapping is in place the guest will receive the interrupt (or
the MSI) as an event. The interrupt to be remapped can either be an
interrupt of an emulated device or an interrupt of a passthrough
device and we keep track of that.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'xen/include/asm-x86/domain.h')
-rw-r--r-- | xen/include/asm-x86/domain.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xen/include/asm-x86/domain.h b/xen/include/asm-x86/domain.h index dc77780888..eaba32d1be 100644 --- a/xen/include/asm-x86/domain.h +++ b/xen/include/asm-x86/domain.h @@ -261,6 +261,9 @@ struct arch_domain /* NB. protected by d->event_lock and by irq_desc[irq].lock */ int *irq_pirq; int *pirq_irq; + /* pirq to emulated irq and vice versa */ + int *emuirq_pirq; + int *pirq_emuirq; /* Shared page for notifying that explicit PIRQ EOI is required. */ unsigned long *pirq_eoi_map; |