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

Re: [Xen-ia64-devel] [PATCH] pal_halt_light emulate for domU TAKE3



Hi Atsushi.

On Tue, Aug 22, 2006 at 02:44:34PM +0900, Atsushi SAKAI wrote:

>   As you pointed out, vcpu_pend_timer() is usually used as current. 
> This problem does not occur.
> But, I am using vcpu_pend_timer in hlt_timer_fn with other vcpu.
> (This makes problem)

hlt_timer_fn() doesn't call vcpu_pend_timer(). But vcpu_unblock().
Do I miss anything else?

>From your patch.
@@ -240,6 +241,12 @@ void startup_cpu_idle_loop(void)
 # error "XMAPPEDREGS_SHIFT doesn't match sizeof(mapped_regs_t)."
 #endif
 
+void hlt_timer_fn(void *data)
+{
+       struct vcpu *v = data;
+       vcpu_unblock(v);
+}
+

-- 
yamahata

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


 


Rackspace

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