qemu-e2k/hw/mips
James Hogan d3d93c6c1e mips: Add KVM T&E segment support for TCG
MIPS KVM trap & emulate guest kernels have a different segment layout
compared with traditional MIPS kernels, to allow both the user and
kernel code to run from the user address segment without repeatedly
trapping to KVM.

QEMU currently supports this layout only for KVM, but its sometimes
useful to be able to run these kernels in QEMU on a PC, so enable it for
TCG too.

This also paves the way for MIPS KVM VZ support (which uses the normal
virtual memory layout) by abstracting whether user mode kernel segments
are in use.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: Yongbok Kim <yongbok.kim@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: kvm@vger.kernel.org
Reviewed-by: Richard Henderson <rth@twiddle.net>
[Yongbok Kim:
  minor change]
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
2017-08-02 22:18:06 +01:00
..
addr.c mips: Add KVM T&E segment support for TCG 2017-08-02 22:18:06 +01:00
boston.c ahci: add ahci_get_num_ports 2017-07-18 11:47:56 -04:00
cps.c error: Strip trailing '\n' from error string arguments (again) 2016-08-08 09:00:44 +02:00
cputimer.c
gt64xxx_pci.c qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
Makefile.objs hw/mips: MIPS Boston board support 2017-02-24 10:37:21 +00:00
mips_fulong2e.c hw/mips: load_elf_strerror to report kernel loading failure 2017-07-28 13:32:32 +01:00
mips_int.c
mips_jazz.c hw: Use new memory_region_init_{ram, rom, rom_device}() functions 2017-07-14 17:59:42 +01:00
mips_malta.c mips: Add KVM T&E segment support for TCG 2017-08-02 22:18:06 +01:00
mips_mipssim.c hw/mips: load_elf_strerror to report kernel loading failure 2017-07-28 13:32:32 +01:00
mips_r4k.c hw/mips: load_elf_strerror to report kernel loading failure 2017-07-28 13:32:32 +01:00