Re: [Xen-devel] [PATCH 22/22] mini-os: support idle for HVMlite

2016-08-23 Thread Samuel Thibault
Juergen Gross, on Tue 23 Aug 2016 17:16:08 +0200, wrote: > Instead of calling HYPERVISOR_sched_op(SCHEDOP_block, 0) we need to use > the "hlt" instruction with interrupts enabled to switch to idle when > running as HVMlite domain. > > This requires to setup a new timer in the timer handler as ther

[Xen-devel] [PATCH 22/22] mini-os: support idle for HVMlite

2016-08-23 Thread Juergen Gross
Instead of calling HYPERVISOR_sched_op(SCHEDOP_block, 0) we need to use the "hlt" instruction with interrupts enabled to switch to idle when running as HVMlite domain. This requires to setup a new timer in the timer handler as there is no guarantee the original timer event we are waiting for won't