• James Hogan's avatar
    MIPS: KVM: Add CP0_EPC KVM register access · fb6df0cd
    James Hogan authored
    Contrary to the comment, the guest CP0_EPC register cannot be set via
    kvm_regs, since it is distinct from the guest PC. Add the EPC register
    to the KVM_{GET,SET}_ONE_REG ioctl interface.
    Signed-off-by: default avatarJames 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: default avatarPaolo Bonzini <pbonzini@redhat.com>
    fb6df0cd
kvm_mips.c 28.2 KB