aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/hvm/vlapic.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-11-18 11:16:36 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-11-18 11:16:36 +0000
commit5f8902540cff4f5a69218f3cdd04caf5a0028ee8 (patch)
tree46353fab9124865cef26978d00f27627974e63c8 /xen/include/asm-x86/hvm/vlapic.h
parenteab9e6e242d4698c015a7f3785e8fd67b44b3843 (diff)
downloadxen-5f8902540cff4f5a69218f3cdd04caf5a0028ee8.tar.gz
xen-5f8902540cff4f5a69218f3cdd04caf5a0028ee8.tar.bz2
xen-5f8902540cff4f5a69218f3cdd04caf5a0028ee8.zip
x86, hvm: Implement interrupt routing to least priority processor.
Instead of round robin the vcpu with the lowest processor priority is selected for the interrupt. If multiple vcpus share the same low priority then interrupts are distributed between those round robin. Signed-off-by: Juergen Gross <juergen.gross@fujitsu-siemens.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/vlapic.h')
-rw-r--r--xen/include/asm-x86/hvm/vlapic.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/xen/include/asm-x86/hvm/vlapic.h b/xen/include/asm-x86/hvm/vlapic.h
index 3f34e47950..8c36ed5a00 100644
--- a/xen/include/asm-x86/hvm/vlapic.h
+++ b/xen/include/asm-x86/hvm/vlapic.h
@@ -93,8 +93,7 @@ void vlapic_msr_set(struct vlapic *vlapic, uint64_t value);
int vlapic_accept_pic_intr(struct vcpu *v);
-struct vlapic *apic_round_robin(
- struct domain *d, uint8_t vector, uint32_t bitmap);
+struct vlapic *apic_lowest_prio(struct domain *d, uint32_t bitmap);
int vlapic_match_logical_addr(struct vlapic *vlapic, uint8_t mda);