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

Alex Williamson
2013-01-28T15:37:01Z

On Mon, 2013-01-28 at 21:25 +0900, Takuya Yoshikawa wrote:
> On Mon, 28 Jan 2013 12:59:03 +0200
> Gleb Natapov <gleb@redhat.com> wrote:
>
> > > It sets spte based on the old value that means the readonly flag check
> > > is missed. We need to call kvm_arch_flush_shadow_all under this case.
> > Why not just disallow changing memory region KVM_MEM_READONLY flag
> > without deleting the region?
>
> Sounds good.
>
> If you prefer, I can fold the required change into my patch.

That would seem to make my patch 1/2 unnecessary. Thanks,

Alex