Re: [PATCH 0/2] kvm: IOMMU read-only mapping support

Takuya Yoshikawa
2013-01-30T04:26:29Z

On Wed, 30 Jan 2013 12:06:32 +0800
Xiao Guangrong <xiaoguangrong@linux.vnet.ibm.com> wrote:

> >>>> So, i guess we can do the simple fix first.
> >>>>
> >>> By simple fix you mean calling kvm_arch_flush_shadow_all() on READONLY
> >>> flag change?
> >>
> >> Simply disallow READONLY flag changing.
> > Ok, can somebody craft a patch?
>
> Takuya, will you? ;)

I will.
Thank you for pointing out the problem.

We can revisit the API later to determine what kind of changes
should be allowed.

Takuya