On Thu, Mar 28, 2019 at 10:37:25AM +0000, Andrew Murray wrote:
> The virt/arm core allocates a kvm_cpu_context_t percpu, at present this is
> a typedef to kvm_cpu_context and is used to store host cpu context. The
> kvm_cpu_context structure is also used elsewhere to hold vcpu context.
> In order to use the percpu to hold additional future host information we
> encapsulate kvm_cpu_context in a new structure and rename the typedef and
> percpu to match.
> 
> Signed-off-by: Andrew Murray <andrew.mur...@arm.com>
> ---
>  arch/arm/include/asm/kvm_host.h   |  8 ++++++--
>  arch/arm64/include/asm/kvm_asm.h  |  3 ++-
>  arch/arm64/include/asm/kvm_host.h | 16 ++++++++++------
>  arch/arm64/kernel/asm-offsets.c   |  1 +
>  virt/kvm/arm/arm.c                | 14 ++++++++------
>  5 files changed, 27 insertions(+), 15 deletions(-)

As per usual, I'll need an Ack from Christoffer and/or Marc on this one :)

Will
_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

Reply via email to