summaryrefslogtreecommitdiffstats
path: root/kernel/auditsc.c
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2012-11-19 23:01:34 +0000
committerAlexander Graf <agraf@suse.de>2012-12-06 01:33:53 +0100
commit4879f241720cda3e6c18a1713bf9b2ed2de14ee4 (patch)
tree300a9282556b3e441b9747dee4b5e51d440986fe /kernel/auditsc.c
parent7ed661bf852cefa1ab57ad709a675bfb029d47ab (diff)
downloadop-kernel-dev-4879f241720cda3e6c18a1713bf9b2ed2de14ee4.zip
op-kernel-dev-4879f241720cda3e6c18a1713bf9b2ed2de14ee4.tar.gz
KVM: PPC: Book3S HV: Fix bug causing loss of page dirty state
This fixes a bug where adding a new guest HPT entry via the H_ENTER hcall would lose the "changed" bit in the reverse map information for the guest physical page being mapped. The result was that the KVM_GET_DIRTY_LOG could return a zero bit for the page even though the page had been modified by the guest. This fixes it by only modifying the index and present bits in the reverse map entry, thus preserving the reference and change bits. We were also unnecessarily setting the reference bit, and this fixes that too. Signed-off-by: Paul Mackerras <paulus@samba.org> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud