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

Avi Kivity
2010-12-14T08:56:27Z

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