[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [IA64] HVM domains need to trigger do_softirq for PAL_HALT_LIGHT too



# HG changeset patch
# User awilliam@xxxxxxxxxxx
# Node ID 62686b2e13ea44a9831a00e4a724cfbdecb9d4c5
# Parent  439051df45f3d43793e4b0370da0b55ef0b3dc75
[IA64] HVM domains need to trigger do_softirq for PAL_HALT_LIGHT too

call do_softirq() to enter scheduler when VTI does PAL_HALT_LIGHT,
like xen-ia64-unstable.hg changeset:

12520:bcd2960d6dfd018de58fc0113c37d30edbe802c5

Signed-off-by: Zhang Xin <xing.z.zhang@xxxxxxxxx>
---
 xen/arch/ia64/xen/fw_emul.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletion(-)

diff -r 439051df45f3 -r 62686b2e13ea xen/arch/ia64/xen/fw_emul.c
--- a/xen/arch/ia64/xen/fw_emul.c       Thu Nov 30 15:57:42 2006 -0700
+++ b/xen/arch/ia64/xen/fw_emul.c       Thu Nov 30 15:57:47 2006 -0700
@@ -32,6 +32,7 @@
 #include <asm/uaccess.h>
 #include <xen/console.h>
 #include <xen/hypercall.h>
+#include <xen/softirq.h>
 
 static DEFINE_SPINLOCK(efi_time_services_lock);
 
@@ -611,8 +612,10 @@ xen_pal_emulator(unsigned long index, u6
            case PAL_HALT_LIGHT:
                if (VMX_DOMAIN(current)) {
                        /* Called by VTI.  */
-                       if (!is_unmasked_irq(current))
+                       if (!is_unmasked_irq(current)) {
                                do_sched_op_compat(SCHEDOP_block, 0);
+                               do_softirq();
+                       }
                        status = PAL_STATUS_SUCCESS;
                }
                break;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.