Re: [PATCH 1/2] KVM: MMU: don't make direct sp read-only if !map_writable

From: Avi Kivity
Date: Tue Dec 14 2010 - 03:56:33 EST


On 12/14/2010 03:53 AM, Xiao Guangrong wrote:
> I just sent a patch to fix this in a different way, please review it.
>

Your patch is good for me, please ignore this one :-)

Umm, do we need move "access&= ~ACC_WRITE_MASK" into set_spte() then
can remove the same code in the caller?

I guess set_spte() is the better place for this.

--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/