On Tue, 2012-05-15 at 19:54 -0500, Anthony Liguori wrote:
> 
> You certainly could do that but it may get a little weird dealing with the 
> return path.  You'd have to return something like -EWOULDBLOCK and make sure 
> you 
> handle that in the dispatch code appropriately.

Hrm, our implementation of kvm_arch_handle_exit() always return "1"
after a hypercall, forcing kvm_cpu_exec() to return back to the thread
loop, so we should be ok to just set env->halted and return no ?

Cheers,
Ben.



Reply via email to