diff options
author | 2015-11-20 17:44:05 +0900 | |
---|---|---|
committer | 2015-11-25 17:26:28 +0100 | |
commit | 029499b477389f7d6486c8c759a8498bcfecf322 (patch) | |
tree | 7ed75ebd187f8a935629fdb70f54d89926512349 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap (diff) | |
download | wireguard-linux-029499b477389f7d6486c8c759a8498bcfecf322.tar.xz wireguard-linux-029499b477389f7d6486c8c759a8498bcfecf322.zip |
KVM: x86: MMU: Make mmu_set_spte() return emulate value
mmu_set_spte()'s code is based on the assumption that the emulate
parameter has a valid pointer value if set_spte() returns true and
write_fault is not zero. In other cases, emulate may be NULL, so a
NULL-check is needed.
Stop passing emulate pointer and make mmu_set_spte() return the emulate
value instead to clean up this complex interface. Prefetch functions
can just throw away the return value.
Signed-off-by: Takuya Yoshikawa <yoshikawa_takuya_b1@lab.ntt.co.jp>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions