diff options
author | Izik Eidus <ieidus@redhat.com> | 2009-09-23 21:47:17 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-10-04 17:04:50 +0200 |
commit | 1403283acca398e244ece35741ad251c1feb5972 (patch) | |
tree | 59a19bdd805c2e58929a38503435fb73d95f2ee4 /virt/kvm/kvm_main.c | |
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>
Diffstat (limited to 'virt/kvm/kvm_main.c')
0 files changed, 0 insertions, 0 deletions