MIPS: KVM: Pass all unknown registers to callbacks
authorJames Hogan <james.hogan@imgtec.com>
Wed, 15 Jun 2016 18:29:48 +0000 (19:29 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 15 Jun 2016 21:58:23 +0000 (23:58 +0200)
commitcc68d22f9727d02c1d981d27c11389fd9413e419
tree68ef3f5f7567976ecdc61e2e85a49376fd8b83e8
parent258f3a2ea93ff7e322006c716cedc4fa3d861453
MIPS: KVM: Pass all unknown registers to callbacks

Pass all unrecognised register IDs through to the set_one_reg() and
get_one_reg() callbacks, not just select ones. This allows
implementation specific registers to be more easily added without having
to modify arch/mips/kvm/mips.c.

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
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/mips.c