commit | 1403283acca398e244ece35741ad251c1feb5972 | [log] [tgz] |
---|---|---|
author | Izik Eidus <ieidus@redhat.com> | Wed Sep 23 21:47:17 2009 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 04 17:04:50 2009 +0200 |
tree | 59a19bdd805c2e58929a38503435fb73d95f2ee4 | |
parent | acb66dd051d0834c8b36d147ff83a8d39da0fe0b [diff] |
KVM: MMU: add SPTE_HOST_WRITEABLE flag to the shadow ptes this flag notify that the host physical page we are pointing to from the spte is write protected, and therefore we cant change its access to be write unless we run get_user_pages(write = 1). (this is needed for change_pte support in kvm) Signed-off-by: Izik Eidus <ieidus@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>