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

From: Takuya Yoshikawa
Date: Mon Jan 28 2013 - 07:25:36 EST


On Mon, 28 Jan 2013 12:59:03 +0200
Gleb Natapov <gleb@xxxxxxxxxx> 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.

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