From: Kyle Hale Date: Wed, 22 Jun 2011 22:06:49 +0000 (-0500) Subject: added code in vmm_intr.c to detect posted swint X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=ff5e516d100f73849193c59c2af2cc3cd3e41f21;p=palacios.git added code in vmm_intr.c to detect posted swint --- diff --git a/palacios/src/palacios/vmm_intr.c b/palacios/src/palacios/vmm_intr.c index 8c4e1c2..a30659f 100644 --- a/palacios/src/palacios/vmm_intr.c +++ b/palacios/src/palacios/vmm_intr.c @@ -327,6 +327,11 @@ v3_intr_type_t v3_intr_pending(struct guest_info * info) { } } } + + /* for swintr injection */ + if (intr_state->swintr_posted == 1) { + ret = V3_SOFTWARE_INTR; + } v3_unlock_irqrestore(intr_state->irq_lock, irq_state);