diff options
author | James Hogan <james.hogan@imgtec.com> | 2017-03-14 13:15:30 +0300 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2017-03-28 16:53:53 +0300 |
commit | ea1bdbf683e6a12bd60204d245053bca0b52185c (patch) | |
tree | f19ebc9a0c518c1e9c470c32792a05abaf014429 /arch/mips/kvm/mmu.c | |
parent | 60c7aa3320dffba4929ef3f46a2daeb5feea6d07 (diff) | |
download | linux-ea1bdbf683e6a12bd60204d245053bca0b52185c.tar.xz |
KVM: MIPS: Update exit handler for VZ
The general guest exit handler needs a few tweaks for VZ compared to
trap & emulate, which for now are made directly depending on
CONFIG_KVM_MIPS_VZ:
- There is no need to re-enable the hardware page table walker (HTW), as
it can be left enabled during guest mode operation with VZ.
- There is no need to perform a privilege check, as any guest privilege
violations should have already been detected by the hardware and
triggered the appropriate guest exception.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Radim Krčmář" <rkrcmar@redhat.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: kvm@vger.kernel.org
Diffstat (limited to 'arch/mips/kvm/mmu.c')
0 files changed, 0 insertions, 0 deletions