• J
    MIPS: KVM: Add CP0_HWREna KVM register access · 16fd5c1d
    James Hogan 提交于
    Implement KVM_{GET,SET}_ONE_REG ioctl based access to the guest CP0
    HWREna register. This is so that userland can save and restore its
    value so that RDHWR instructions don't have to be emulated by the guest.
    Signed-off-by: NJames Hogan <james.hogan@imgtec.com>
    Cc: Paolo Bonzini <pbonzini@redhat.com>
    Cc: Gleb Natapov <gleb@kernel.org>
    Cc: kvm@vger.kernel.org
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: linux-mips@linux-mips.org
    Cc: David Daney <david.daney@cavium.com>
    Cc: Sanjay Lal <sanjayl@kymasys.com>
    Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
    16fd5c1d
kvm_mips.c 27.6 KB