On Thu, 2008-06-26 at 13:25 -0500, Anthony Liguori wrote:
> Hypercalls can modify arbitrary regions of memory.  Make sure to indicate this
> in the clobber list.  This fixes a hang when using KVM_GUEST kernel built with
> GCC 4.3.0.
> 
> This was originally spotted and analyzed by Marcelo.
> 
> Since v1, I've also added a "m" constraint for the inputs to the hypercall.
> This was suggested by Christian since it's not entirely clear whether a memory
> clobber will force the data to be in memory before the asm statement.  In the
> very least, it helps to be more conservative.
> 
> Signed-off-by: Anthony Liguori <[EMAIL PROTECTED]>

Acked-by: Hollis Blanchard <[EMAIL PROTECTED]>

-- 
Hollis Blanchard
IBM Linux Technology Center

--
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

Reply via email to