write protect the guest memory page from guest access

From: sheng qiu
Date: Fri Jun 15 2012 - 19:38:10 EST


Hi all,

i want to set write protect (if guest try to write access, cause
exception) for a guest memory page. Assuming i know the gva of the
page, how do i achieve this? Is there any existing KVM function that
can help do it?

Thanks,
Sheng
--
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/