On Tue, Oct 20, 2009 at 05:56:35PM -0200, Glauber Costa wrote:
> On Tue, Oct 20, 2009 at 09:47:44PM +0200, Gleb Natapov wrote:
> > On Tue, Oct 20, 2009 at 05:15:32PM -0200, Glauber Costa wrote:
> > > HLT exit calls directly an arch-specific function. Furthermore,
> > > upstream qemu already places it on arch specific code, so let's follow it.
> > >
> > > The function that handles halt itself is almost equal between them. So
> > > let's use it.
> > >
> > kvm_handle_halt() may return 1. If it does kvm_arch_run() will return 1
> > too and kvm_run() will abort.
>
> kvm_arch_halt() may return 1 as well.
>
But it's called from another place and its return value is handled
differently.
--
Gleb.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html