Displaying 3 results from an estimated 3 matches for "hvm_vcpu_has_pending_irq".
2007 Dec 11
0
[HVM] Fix interrupt routing
...#39;s pt->last_plt_gtime is less
than vlapic timer''s -- at least I can see this on my hosts;
However, in pt_update_irq() -> hvm_isa_irq_assert() ->
vioapic_irq_positive_edge(), we do nothing but return at once because
vioapic.redirtbl[2].mask = 1;
Next, in vmx_intr_assist() -> hvm_vcpu_has_pending_irq(), we can''t
inject vPIT interrupt because vlapic_accept_pic_intr() return false
(because vlapic.lvt[LINT0].mask=1, and vlapic_hw_disabled() returns
false), so vlapic_has_pending_irq() returns -1.
Eventually, the pending PIT interrupts prevent the injection of lapic
timer interrupts!
The...
2012 Sep 14
0
[ PATCH v3 2/3] xen: enable Virtual-interrupt delivery
...* Block event injection when single step with MTF. */
if ( unlikely(v->arch.hvm_vcpu.single_step) )
@@ -216,7 +217,7 @@ void vmx_intr_assist(void)
}
/* Crank the handle on interrupt state. */
- pt_update_irq(v);
+ pt_vector = pt_update_irq(v);
do {
intack = hvm_vcpu_has_pending_irq(v);
@@ -227,16 +228,34 @@ void vmx_intr_assist(void)
goto out;
intblk = hvm_interrupt_blocked(v, intack);
- if ( intblk == hvm_intblk_tpr )
+ if ( cpu_has_vmx_virtual_intr_delivery )
+ {
+ /* Set "Interrupt-window exiting" for ExtINT...
2013 Sep 23
57
[PATCH RFC v13 00/20] Introduce PVH domU support
This patch series is a reworking of a series developed by Mukesh
Rathor at Oracle. The entirety of the design and development was done
by him; I have only reworked, reorganized, and simplified things in a
way that I think makes more sense. The vast majority of the credit
for this effort therefore goes to him. This version is labelled v13
because it is based on his most recent series, v11.