aboutsummaryrefslogtreecommitdiff
path: root/tests/rtc-test.c
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2016-05-04 16:52:19 +1000
committerDavid Gibson <david@gibson.dropbear.id.au>2016-05-27 09:40:23 +1000
commitfec5d3a1cd8fea7d70778f8b408589d75c88c3e7 (patch)
treed7d34dbfb3b2d5f5c8e98e711791464939fe3e4d /tests/rtc-test.c
parentf94819d6012fbc2a6022eeacd65608e58dacbada (diff)
downloadqemu-fec5d3a1cd8fea7d70778f8b408589d75c88c3e7.zip
qemu-fec5d3a1cd8fea7d70778f8b408589d75c88c3e7.tar.gz
qemu-fec5d3a1cd8fea7d70778f8b408589d75c88c3e7.tar.bz2
spapr_iommu: Move table allocation to helpers
At the moment presence of vfio-pci devices on a bus affect the way the guest view table is allocated. If there is no vfio-pci on a PHB and the host kernel supports KVM acceleration of H_PUT_TCE, a table is allocated in KVM. However, if there is vfio-pci and we do yet not KVM acceleration for these, the table has to be allocated by the userspace. At the moment the table is allocated once at boot time but next patches will reallocate it. This moves kvmppc_create_spapr_tce/g_malloc0 and their counterparts to helpers. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests/rtc-test.c')
0 files changed, 0 insertions, 0 deletions