Re: [PATCH v12 2/8] arm64: KVM: encapsulate kvm_cpu_context in kvm_host_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 04, 2019 at 05:14:16PM +0100, Will Deacon wrote:
> On Thu, Apr 04, 2019 at 05:09:58PM +0100, Will Deacon wrote:
> > 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.murray@xxxxxxx>
> > > ---
> > >  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 :)
> 
> Actually... given that most of this series is now firmly in KVM territory,
> it probably makes more sense for the kvm/arm tree to take this on a separate
> branch, which I can also pull into the arm64 perf tree if I run into
> conflicts on the non-kvm parts.

No problem.

Thanks,

Andrew Murray

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



[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux