mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 11:53:39 +08:00
d3d93c6c1e
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> |
||
---|---|---|
.. | ||
addr.c | ||
boston.c | ||
cps.c | ||
cputimer.c | ||
gt64xxx_pci.c | ||
Makefile.objs | ||
mips_fulong2e.c | ||
mips_int.c | ||
mips_jazz.c | ||
mips_malta.c | ||
mips_mipssim.c | ||
mips_r4k.c |