[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-ppc] [PATCH 02/16] target-ppc: Rework storage of VPA registrat
From: |
David Gibson |
Subject: |
Re: [Qemu-ppc] [PATCH 02/16] target-ppc: Rework storage of VPA registration state |
Date: |
Fri, 2 Nov 2012 13:07:23 +1100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Nov 01, 2012 at 11:10:33AM +0100, Alexander Graf wrote:
>
> On 30.10.2012, at 04:24, David Gibson wrote:
>
> > With PAPR guests, hypercalls allow registration of the Virtual Processor
> > Area (VPA), SLB shadow and dispatch trace log (DTL), each of which allow
> > for certain communication between the guest and hypervisor. Currently, we
> > store the addresses of the three areas and the size of the dtl in
> > CPUPPCState.
> >
> > The SLB shadow and DTL are variable sized, with the size being retrieved
> > from within the registered memory area at the hypercall time. This size
> > can later be overwritten with other information, however, so we need to
> > save the size as of registration time. We already do this for the DTL,
> > but not for the SLB shadow, so this patch fixes that.
> >
> > In addition, we change the storage of the VPA information to use fixed
> > size integer types which will make life easier for syncing this data with
> > KVM, which we will need in future.
> >
> > Signed-off-by: David Gibson <address@hidden>
>
> The commit message seems to not match the patch contents. I'll fix
> that up.
Sorry, thanks. I think the described change was in an earlier
version, but I'm not sure wuite when it fell out.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson