diff options
author | James Hogan <james.hogan@imgtec.com> | 2016-12-14 01:58:44 +0000 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2017-02-03 15:21:18 +0000 |
commit | 89d6ad8a6b26a51f6fdfd356a56681a11f309bba (patch) | |
tree | 8efab2f33aaf7f6365d2e5cf3edfd87a885482b5 /arch/mips/include/asm/kvm_host.h | |
parent | b6209110863363b55dd60fe28a993e5367d4a215 (diff) | |
download | linux-89d6ad8a6b26a51f6fdfd356a56681a11f309bba.tar.bz2 |
KVM: MIPS/T&E: Ignore user writes to CP0_Config7
Ignore userland writes to CP0_Config7 rather than reporting an error,
since we do allow reads of this register and it is claimed to exist in
the ioctl API.
This allows userland to blindly save and restore KVM registers without
having to special case certain registers as not being writable, for
example during live migration once dirty page logging is fixed.
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/include/asm/kvm_host.h')
0 files changed, 0 insertions, 0 deletions