summaryrefslogtreecommitdiffstats
path: root/hw/spapr.h
diff options
context:
space:
mode:
authorDavid Gibson2012-10-08 20:17:38 +0200
committerAlexander Graf2012-10-29 11:45:54 +0100
commit1bfb37d1e077705de14f0f7fdc7b21749dbe4bc9 (patch)
treecab0228bb6e8cc5c2638eb60fcdff4ac59573e3b /hw/spapr.h
parentpseries: Don't allow duplicate registration of hcalls or RTAS calls (diff)
downloadqemu-1bfb37d1e077705de14f0f7fdc7b21749dbe4bc9.tar.gz
qemu-1bfb37d1e077705de14f0f7fdc7b21749dbe4bc9.tar.xz
qemu-1bfb37d1e077705de14f0f7fdc7b21749dbe4bc9.zip
target-ppc: Rework storage of VPA registration state
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 <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr.h')
0 files changed, 0 insertions, 0 deletions