• James Hogan's avatar
    MIPS: KVM: Move KVM_{GET,SET}_ONE_REG definitions into kvm_host.h · 48a3c4e4
    James Hogan authored
    Move the KVM_{GET,SET}_ONE_REG MIPS register id definitions out of
    kvm_mips.c to kvm_host.h so that they can be shared between multiple
    source files. This allows register access to be indirected depending on
    the underlying implementation (trap & emulate or VZ).
    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>
    48a3c4e4
kvm_host.h 22.8 KB