[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH 02/16] exec.c: Allow target CPUs to define multipl
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-arm] [PATCH 02/16] exec.c: Allow target CPUs to define multiple AddressSpaces |
Date: |
Mon, 9 Nov 2015 11:30:28 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 05/11/2015 19:15, Peter Maydell wrote:
> Allow multiple calls to cpu_address_space_init(); each
> call adds an entry to the cpu->ases array at the specified
> index. It is up to the target-specific CPU code to actually use
> these extra address spaces.
>
> Since this multiple AddressSpace support won't work with
> KVM, add an assertion to avoid confusing failures.
Actually it won't work _now_ with KVM, but it could.
It would be a good idea to map the multiple CPU AddressSpaces to KVM's
own multiple address spaces. It's possible to modify i386 to do this,
using address space 0 for normal operation and address space 1 for SMM,
just like KVM.
More on this as I reply to the remainder of the series...
Paolo
> Signed-off-by: Peter Maydell <address@hidden>
- Re: [Qemu-arm] [PATCH 11/16] memory: Add address_space_init_shareable(), (continued)
[Qemu-arm] [PATCH 06/16] include/qom/cpu.h: Add new get_phys_page_asidx_debug method, Peter Maydell, 2015/11/05
[Qemu-arm] [PATCH 02/16] exec.c: Allow target CPUs to define multiple AddressSpaces, Peter Maydell, 2015/11/05
Re: [Qemu-arm] [PATCH 02/16] exec.c: Allow target CPUs to define multiple AddressSpaces,
Paolo Bonzini <=
[Qemu-arm] [PATCH 07/16] exec.c: Use cpu_get_phys_page_asidx_debug, Peter Maydell, 2015/11/05
[Qemu-arm] [PATCH 14/16] hw/arm/virt: Wire up memory region to CPUs explicitly, Peter Maydell, 2015/11/05
[Qemu-arm] [PATCH 04/16] exec.c: Add address space index to CPUIOTLBEntry, Peter Maydell, 2015/11/05
[Qemu-arm] [PATCH 12/16] qom/cpu: Add MemoryRegion property, Peter Maydell, 2015/11/05